nodemcu-firmware/components/platform/Kconfig

112 lines
3.0 KiB
Plaintext

menu "Platform config"
choice CONSOLE_BIT_RATE
prompt "UART console default bit rate"
default CONSOLE_BIT_RATE_115200
help
Configure the default bit rate for the UART console.
The resulting UART setting will be xxx-8N1, where xxx represents the
chosen bit rate.
config CONSOLE_BIT_RATE_300
bool "300"
config CONSOLE_BIT_RATE_600
bool "600"
config CONSOLE_BIT_RATE_1200
bool "1200"
config CONSOLE_BIT_RATE_2400
bool "2400"
config CONSOLE_BIT_RATE_4800
bool "4800"
config CONSOLE_BIT_RATE_9600
bool "9600"
config CONSOLE_BIT_RATE_19200
bool "19200"
config CONSOLE_BIT_RATE_38400
bool "38400"
config CONSOLE_BIT_RATE_57600
bool "57600"
config CONSOLE_BIT_RATE_74880
bool "74880"
config CONSOLE_BIT_RATE_115200
bool "115200"
config CONSOLE_BIT_RATE_230400
bool "230400"
config CONSOLE_BIT_RATE_460800
bool "460800"
config CONSOLE_BIT_RATE_921600
bool "921600"
config CONSOLE_BIT_RATE_1843200
bool "1843200"
config CONSOLE_BIT_RATE_3683400
bool "3683400"
endchoice
config CONSOLE_BIT_RATE
int
default 300 if CONSOLE_BIT_RATE_300
default 600 if CONSOLE_BIT_RATE_600
default 1200 if CONSOLE_BIT_RATE_1200
default 2400 if CONSOLE_BIT_RATE_2400
default 4800 if CONSOLE_BIT_RATE_4800
default 9600 if CONSOLE_BIT_RATE_9600
default 19200 if CONSOLE_BIT_RATE_19200
default 38400 if CONSOLE_BIT_RATE_38400
default 57600 if CONSOLE_BIT_RATE_57600
default 74880 if CONSOLE_BIT_RATE_74880
default 115200 if CONSOLE_BIT_RATE_115200
default 230400 if CONSOLE_BIT_RATE_230400
default 460800 if CONSOLE_BIT_RATE_460800
default 921600 if CONSOLE_BIT_RATE_921600
default 1843200 if CONSOLE_BIT_RATE_1843200
default 3683400 if CONSOLE_BIT_RATE_3683400
config CONSOLE_BIT_RATE_AUTO
bool "UART console auto-baud detection"
default "y"
help
Enables auto-baud detection for the UART console.
By typing a few characters into the console shortly after boot,
NodeMCU can automatically detect your terminal settings and
adjust accordingly.
If you are doing advanced things with the console, you may want
to disable this feature.
config NODE_DEBUG
bool "Enable NODE_DBG() output"
default "n"
help
Enable debugging output via NODE_DBG(). This is VERY chatty.
For development/debugging use only.
config NODE_ERR
bool "Enable NODE_ERR() output"
default "y"
help
Enable error reporting via NODE_ERR().
It is recommended to leave this enabled - if it ever produces output,
something has gone seriously wrong and you probably want to know about
it.
config FS_OBJ_NAME_LEN
int "Make filesystem object name length"
default 31
help
Maximum name of filesystem objects (files, directories).
# I don't think we can deal without SPIFFS at this point, so always on for now
config BUILD_SPIFFS
bool
default "y"
config BUILD_FATFS
bool "Support for FAT filesystems"
default "n"
help
Include support for accessing FAT filesystems on SD cards.
endmenu