2016-12-19 07:40:21 +00:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_FIRMWARE_UPG_URL
|
2019-05-22 09:56:10 +00:00
|
|
|
string "Firmware Upgrade URL"
|
|
|
|
default "https://192.168.2.106:8070/hello-world.bin"
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
2019-05-22 09:56:10 +00:00
|
|
|
URL of server which hosts the firmware image.
|
2016-12-19 07:40:21 +00:00
|
|
|
|
2019-05-09 14:43:06 +00:00
|
|
|
config EXAMPLE_GPIO_DIAGNOSTIC
|
2019-02-13 09:32:23 +00:00
|
|
|
int "Number of the GPIO input for diagnostic"
|
|
|
|
range 0 39
|
|
|
|
default 4
|
|
|
|
help
|
|
|
|
Used to demonstrate how a rollback works.
|
|
|
|
The selected GPIO will be configured as an input with internal pull-up enabled.
|
|
|
|
To trigger a rollback, this GPIO must be pulled low while the message
|
|
|
|
`Diagnostics (5 sec)...` which will be on first boot.
|
|
|
|
If GPIO is not pulled low then the operable of the app will be confirmed.
|
|
|
|
|
2016-12-19 07:40:21 +00:00
|
|
|
endmenu
|