boards/esp32s3: Add depends ESP32-S3-WROOM-1-N8R8 for ESP32S3_DEVKIT
Env
esp32s3-devkit:usbnsh
Problem
The `CONFIG_ARCH_BOARD_ESP32S3_DEVKIT` will be disabled if `CONFIG_ARCH_CHIP_ESP32S3WROOM1N8R8` selected
$ diff defconfig boards/xtensa/esp32s3/esp32s3-devkit/configs/usbnsh/defconfig
7a8
> # CONFIG_ARCH_LEDS is not set
10a12
> CONFIG_ARCH_BOARD="esp32s3-devkit"
12,15c14
< CONFIG_ARCH_BOARD_CUSTOM=y
< CONFIG_ARCH_BOARD_CUSTOM_DIR=""
< CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y
< CONFIG_ARCH_BOARD_CUSTOM_NAME=""
---
> CONFIG_ARCH_BOARD_ESP32S3_DEVKIT=y
18c17
< CONFIG_ARCH_CHIP_ESP32S3WROOM1N8R8=y
---
> CONFIG_ARCH_CHIP_ESP32S3WROOM1N4=y
And command make fails
No directory at /workspace/nuttx//src
make[1]: *** [tools/Unix.mk:320: arch/xtensa/src/board/board] Error 1
make: *** [tools/Unix.mk:700: menuconfig] Error 2
With this patch
$ diff defconfig boards/xtensa/esp32s3/esp32s3-devkit/configs/usbnsh/defconfig
17c17
< CONFIG_ARCH_CHIP_ESP32S3WROOM1N8R8=y
---
> CONFIG_ARCH_CHIP_ESP32S3WROOM1N4=y
Link: https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s3/esp32-s3-devkitc-1/user_guide.html
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
d2dc2c796d
commit
22e8e65789
1 changed files with 1 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ config ARCH_BOARD_FRANZININHO_WIFI
|
|||
|
||||
config ARCH_BOARD_ESP32S3_DEVKIT
|
||||
bool "Espressif ESP32-S3 DevKit"
|
||||
depends on ARCH_CHIP_ESP32S3WROOM1N4 || ARCH_CHIP_ESP32S3MINI1N8 || ARCH_CHIP_ESP32S3WROOM2N16R8V || ARCH_CHIP_ESP32S3WROOM2N32R8V || ARCH_CHIP_ESP32S3CUSTOM
|
||||
depends on ARCH_CHIP_ESP32S3WROOM1N4 || ARCH_CHIP_ESP32S3MINI1N8 || ARCH_CHIP_ESP32S3WROOM2N16R8V || ARCH_CHIP_ESP32S3WROOM2N32R8V || ARCH_CHIP_ESP32S3CUSTOM || ARCH_CHIP_ESP32S3WROOM1N8R8
|
||||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS if ESP32S3_GPIO_IRQ
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue