2021-01-22 19:37:44 +01: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_ESP32C3_DEVKIT
|
|
|
|
|
2021-04-28 12:40:56 +02:00
|
|
|
if PM
|
|
|
|
|
|
|
|
config PM_ALARM_SEC
|
|
|
|
int "PM_STANDBY delay (seconds)"
|
|
|
|
default 15
|
|
|
|
depends on PM
|
|
|
|
---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
|
|
|
|
depends on PM
|
|
|
|
---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
|
|
|
|
depends on PM
|
|
|
|
---help---
|
|
|
|
Number of seconds to wait in PM_SLEEP.
|
|
|
|
|
|
|
|
config PM_SLEEP_WAKEUP_NSEC
|
|
|
|
int "PM_SLEEP delay (nanoseconds)"
|
|
|
|
default 0
|
|
|
|
depends on PM
|
|
|
|
---help---
|
|
|
|
Number of additional nanoseconds to wait in PM_SLEEP.
|
|
|
|
|
|
|
|
endif # PM
|
|
|
|
|
2021-01-22 19:37:44 +01:00
|
|
|
config ESP32C3_DEVKIT_RUN_IRAM
|
|
|
|
bool "Run from IRAM"
|
|
|
|
default n
|
|
|
|
|
2021-09-02 00:40:08 +02:00
|
|
|
config ESP32C3_MERGE_BINS
|
|
|
|
bool "Merge raw binary files into a single file"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Merge the raw binary files into a single file for flashing to the
|
|
|
|
device.
|
|
|
|
This is only useful when the path to binary files (e.g. bootloader)
|
|
|
|
is provided via the ESPTOOL_BINDIR variable.
|
|
|
|
|
2021-10-25 19:51:17 +02:00
|
|
|
choice ESP32C3_SPIFLASH_FS
|
|
|
|
prompt "Mount SPI Flash MTD on bring-up"
|
|
|
|
default ESP32C3_SPIFLASH_SMARTFS
|
|
|
|
depends on ESP32C3_SPIFLASH
|
|
|
|
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.
|
|
|
|
|
|
|
|
config ESP32C3_SPIFLASH_SMARTFS
|
|
|
|
bool "SmartFS"
|
|
|
|
select FS_SMARTFS
|
|
|
|
select MTD_SMART
|
|
|
|
|
|
|
|
config ESP32C3_SPIFLASH_NXFFS
|
|
|
|
bool "NXFFS"
|
|
|
|
select FS_NXFFS
|
|
|
|
|
|
|
|
config ESP32C3_SPIFLASH_SPIFFS
|
|
|
|
bool "SPIFFS"
|
|
|
|
select FS_SPIFFS
|
|
|
|
|
|
|
|
config ESP32C3_SPIFLASH_LITTLEFS
|
|
|
|
bool "LittleFS"
|
|
|
|
select FS_LITTLEFS
|
2021-03-20 17:29:55 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2021-07-05 11:17:21 +02:00
|
|
|
config ESP32C3_SPIFLASH_FS_MOUNT_PT
|
|
|
|
string "File-system Mount Point"
|
|
|
|
depends on ESP32C3_SPIFLASH_LITTLEFS
|
|
|
|
default "/data"
|
|
|
|
|
2021-09-16 06:24:34 +02:00
|
|
|
if LCD_ST7735 || LCD_ST7789 || LCD_GC9A01
|
|
|
|
|
|
|
|
config ESP32C3_LCD_RSTPIN
|
|
|
|
int "LCD reset pin"
|
|
|
|
default 9
|
|
|
|
|
|
|
|
config ESP32C3_LCD_BLPIN
|
|
|
|
int "LCD backlight pin"
|
|
|
|
default 18
|
|
|
|
|
|
|
|
endif # LCD_ST7735 || LCD_ST7789 || LCD_GC9A01
|
|
|
|
|
2021-01-22 19:37:44 +01:00
|
|
|
endif # ARCH_BOARD_ESP32C3_DEVKIT
|