Initial code import

This commit is contained in:
2021-10-03 17:51:12 +02:00
parent c2deb42b10
commit 08e62500ea
25 changed files with 1248 additions and 0 deletions

44
Kconfig.projbuild Normal file
View File

@@ -0,0 +1,44 @@
menu "ESP Config lib settings"
choice LOG_LOCAL_LEVEL_CONFIG
bool "go-e CONFIG log verbosity"
default LOG_LOCAL_LEVEL_CONFIG_INFO
help
Specify how much output to compile into the binary.
You can set lower verbosity level at runtime using
esp_log_level_set function.
Note that this setting limits which log statements
are compiled into the program in go-e sources. So
setting this to, say, "Warning" would mean that
changing log level to "Debug" at runtime will not
be possible.
config LOG_LOCAL_LEVEL_CONFIG_NONE
bool "No output"
config LOG_LOCAL_LEVEL_CONFIG_ERROR
bool "Error"
config LOG_LOCAL_LEVEL_CONFIG_WARN
bool "Warning"
config LOG_LOCAL_LEVEL_CONFIG_INFO
bool "Info"
config LOG_LOCAL_LEVEL_CONFIG_DEBUG
bool "Debug"
config LOG_LOCAL_LEVEL_CONFIG_VERBOSE
bool "Verbose"
endchoice
config LOG_LOCAL_LEVEL_CONFIG
int
default 0 if LOG_LOCAL_LEVEL_CONFIG_NONE
default 1 if LOG_LOCAL_LEVEL_CONFIG_ERROR
default 2 if LOG_LOCAL_LEVEL_CONFIG_WARN
default 3 if LOG_LOCAL_LEVEL_CONFIG_INFO
default 4 if LOG_LOCAL_LEVEL_CONFIG_DEBUG
default 5 if LOG_LOCAL_LEVEL_CONFIG_VERBOSE
config SEPARATE_FACTORY_NVS_PARTITION
bool "Separate factory nvs partition (for easy erasure of user settings)"
default y
endmenu