mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
arch/risc-v/espressif: Disable esptool's stubs for ESP32-C3
This commit disables the esptool's stubs when flashing ESP32-C3 (`CONFIG_ESPRESSIF_ESPTOOLPY_NO_STUB=y`) if the serial/JTAG console is enabled (`CONFIG_ESPRESSIF_USBSERIAL=y`). Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
d69f349787
commit
d7dabc90f6
@@ -176,7 +176,6 @@ config ARCH_CHIP_ESP32H2
|
||||
select LIBC_ARCH_STRNCPY
|
||||
select LIBC_ARCH_STRLEN
|
||||
select LIBC_ARCH_STRNLEN
|
||||
select ESPRESSIF_ESPTOOLPY_NO_STUB
|
||||
select ESPRESSIF_SOC_RTC_MEM_SUPPORTED
|
||||
select ARCH_CHIP_ESPRESSIF
|
||||
select ARCH_HAVE_RAMFUNCS
|
||||
|
||||
@@ -299,6 +299,7 @@ config ESPRESSIF_TWAI1
|
||||
config ESPRESSIF_USBSERIAL
|
||||
bool "USB-Serial-JTAG Driver"
|
||||
default n
|
||||
select ESPRESSIF_ESPTOOLPY_NO_STUB if ARCH_CHIP_ESP32C3_GENERIC
|
||||
select OTHER_UART_SERIALDRIVER
|
||||
select ARCH_HAVE_SERIAL_TERMIOS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user