diff --git a/Sming/Arch/Esp32/Components/driver/uart.cpp b/Sming/Arch/Esp32/Components/driver/uart.cpp index 4a7f93bc59..deb4f4ed1b 100644 --- a/Sming/Arch/Esp32/Components/driver/uart.cpp +++ b/Sming/Arch/Esp32/Components/driver/uart.cpp @@ -58,7 +58,7 @@ struct smg_uart_pins_t { #define UART2_PIN_DEFAULT UART_NUM_2_TXD_DIRECT_GPIO_NUM, UART_NUM_2_RXD_DIRECT_GPIO_NUM #elif defined(SOC_ESP32C3) #define UART0_PIN_DEFAULT 21, 20 -#define UART1_PIN_DEFAULT UART_NUM_1_TXD_DIRECT_GPIO_NUM, UART_NUM_1_RXD_DIRECT_GPIO_NUM +#define UART1_PIN_DEFAULT 10, 9 #elif defined(SOC_ESP32S2) #define UART0_PIN_DEFAULT 43, 44 #define UART1_PIN_DEFAULT UART_NUM_1_TXD_DIRECT_GPIO_NUM, UART_NUM_1_RXD_DIRECT_GPIO_NUM diff --git a/Sming/Arch/Esp32/Components/libc/src/include/esp_attr.h b/Sming/Arch/Esp32/Components/libc/src/include/esp_attr.h index ddae2e56eb..9e91a5fdab 100644 --- a/Sming/Arch/Esp32/Components/libc/src/include/esp_attr.h +++ b/Sming/Arch/Esp32/Components/libc/src/include/esp_attr.h @@ -16,7 +16,7 @@ #define DMEM_ATTR __attribute__((section(".bss"))) #define SHMEM_ATTR -#define ICACHE_FLASH_SECTION ".irom0.text" +#define ICACHE_FLASH_SECTION ".text" #undef ICACHE_FLASH_ATTR #define ICACHE_FLASH_ATTR \