software default reset flag added
This commit is contained in:
parent
bf5ed1d957
commit
74cea2241d
7
Kconfig
7
Kconfig
|
|
@ -31,10 +31,15 @@ menu "WebGUIApp"
|
|||
|
||||
config DEBUG_MODE_ENABLE
|
||||
bool "Enabled JTAG debug"
|
||||
default n
|
||||
default y
|
||||
help
|
||||
Switch on JTAG debug mode. Otherwise pins 12-15 used as normal GPIO
|
||||
|
||||
config RESET_MODE_ENABLE
|
||||
bool "Enabled RESET on boot"
|
||||
default n
|
||||
help
|
||||
This will reset to default settings on every startup
|
||||
|
||||
menu "SPI settings"
|
||||
config WEBGUIAPP_SPI_ENABLE
|
||||
|
|
|
|||
|
|
@ -45,7 +45,11 @@
|
|||
#define STORAGE_NAMESPACE "storage"
|
||||
#define TAG "SystemConfiguration"
|
||||
|
||||
#ifdef CONFIG_RESET_MODE_ENABLE
|
||||
#define MANUAL_RESET 1
|
||||
#else
|
||||
#define MANUAL_RESET 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USERDEFINED_MAIN_FUNCTIONAL_BUTTON_GPIO
|
||||
#define MAIN_FUNCTIONAL_BUTTON_GPIO CONFIG_USERDEFINED_MAIN_FUNCTIONAL_BUTTON_GPIO
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user