2022-01-08 01:44:06 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if ARCH_BOARD_ESP32S3_DEVKIT
|
|
|
|
|
2023-12-08 02:18:21 +08:00
|
|
|
choice
|
|
|
|
prompt "ESP32-S3-DevKitC-1 version"
|
|
|
|
default ESP32S3_DEVKITC_1_V10
|
|
|
|
|
|
|
|
config ESP32S3_DEVKITC_1_V10
|
|
|
|
bool "ESP32-S3-DevKitC-1 v1.0"
|
|
|
|
|
|
|
|
config ESP32S3_DEVKITC_1_V11
|
|
|
|
bool "ESP32-S3-DevKitC-1 v1.1"
|
|
|
|
endchoice
|
|
|
|
|
2022-03-03 17:21:31 +08:00
|
|
|
config ESP32S3_STORAGE_MTD_OFFSET
|
|
|
|
hex "Storage MTD base address in SPI Flash"
|
2022-12-05 09:22:43 +08:00
|
|
|
default 0x180000 if !ESP32S3_HAVE_OTA_PARTITION
|
|
|
|
default 0x250000 if ESP32S3_HAVE_OTA_PARTITION
|
2022-03-03 17:21:31 +08:00
|
|
|
depends on ESP32S3_MTD
|
|
|
|
---help---
|
|
|
|
MTD base address in SPI Flash.
|
|
|
|
|
|
|
|
config ESP32S3_STORAGE_MTD_SIZE
|
|
|
|
hex "Storage MTD size in SPI Flash"
|
|
|
|
default 0x100000
|
2024-05-06 20:54:51 +08:00
|
|
|
range 0x0 0x400000 if ESP32S3_FLASH_4M
|
|
|
|
range 0x0 0x800000 if ESP32S3_FLASH_8M
|
|
|
|
range 0x0 0x1000000 if ESP32S3_FLASH_16M
|
|
|
|
range 0x0 0x2000000 if ESP32S3_FLASH_32M
|
2022-03-03 17:21:31 +08:00
|
|
|
depends on ESP32S3_MTD
|
|
|
|
---help---
|
|
|
|
MTD size in SPI Flash.
|
|
|
|
|
|
|
|
choice ESP32S3_SPIFLASH_FS
|
|
|
|
prompt "Mount SPI Flash MTD on bring-up"
|
|
|
|
default ESP32S3_SPIFLASH_SMARTFS
|
|
|
|
depends on ESP32S3_MTD
|
|
|
|
optional
|
|
|
|
---help---
|
|
|
|
Mount the SPI Flash MTD with the selected File System format on board
|
|
|
|
bring-up.
|
|
|
|
If not selected, the MTD will be registered as a device node on /dev.
|
|
|
|
|
2023-06-20 21:25:59 +08:00
|
|
|
config ESP32S3_SPIFLASH_SMARTFS
|
|
|
|
bool "SmartFS"
|
|
|
|
select FS_SMARTFS
|
|
|
|
select MTD_SMART
|
2022-03-03 17:21:31 +08:00
|
|
|
|
2023-06-20 21:25:59 +08:00
|
|
|
config ESP32S3_SPIFLASH_NXFFS
|
|
|
|
bool "NXFFS"
|
|
|
|
select FS_NXFFS
|
2022-03-03 17:21:31 +08:00
|
|
|
|
2023-06-20 21:25:59 +08:00
|
|
|
config ESP32S3_SPIFLASH_SPIFFS
|
|
|
|
bool "SPIFFS"
|
|
|
|
select FS_SPIFFS
|
2022-03-03 17:21:31 +08:00
|
|
|
|
2023-06-20 21:25:59 +08:00
|
|
|
config ESP32S3_SPIFLASH_LITTLEFS
|
|
|
|
bool "LittleFS"
|
|
|
|
select FS_LITTLEFS
|
2022-03-03 17:21:31 +08:00
|
|
|
|
2023-06-20 21:25:59 +08:00
|
|
|
endchoice # ESP32S3_SPIFLASH_FS
|
2022-03-03 17:21:31 +08:00
|
|
|
|
2024-03-27 16:25:14 +08:00
|
|
|
if PM
|
|
|
|
|
|
|
|
config PM_ALARM_SEC
|
|
|
|
int "PM_STANDBY delay (seconds)"
|
|
|
|
default 15
|
|
|
|
---help---
|
|
|
|
Number of seconds to wait in PM_STANDBY before going to PM_STANDBY mode.
|
|
|
|
|
|
|
|
config PM_ALARM_NSEC
|
|
|
|
int "PM_STANDBY delay (nanoseconds)"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Number of additional nanoseconds to wait in PM_STANDBY before going to PM_STANDBY mode.
|
|
|
|
|
|
|
|
config PM_SLEEP_WAKEUP_SEC
|
|
|
|
int "PM_SLEEP delay (seconds)"
|
|
|
|
default 20
|
|
|
|
---help---
|
|
|
|
Number of seconds to wait in PM_SLEEP.
|
|
|
|
|
|
|
|
config PM_SLEEP_WAKEUP_NSEC
|
|
|
|
int "PM_SLEEP delay (nanoseconds)"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Number of additional nanoseconds to wait in PM_SLEEP.
|
|
|
|
|
|
|
|
endif # PM
|
|
|
|
|
2022-01-08 01:44:06 +08:00
|
|
|
endif # ARCH_BOARD_ESP32S3_DEVKIT
|