2016-12-19 07:40:21 +00:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
config WIFI_SSID
|
|
|
|
string "WiFi SSID"
|
|
|
|
default "myssid"
|
|
|
|
help
|
|
|
|
SSID (network name) for the example to connect to.
|
2016-12-19 07:40:21 +00:00
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
config WIFI_PASSWORD
|
|
|
|
string "WiFi Password"
|
|
|
|
default "mypassword"
|
|
|
|
help
|
|
|
|
WiFi password (WPA or WPA2) for the example to use.
|
2016-12-19 07:40:21 +00:00
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
Can be left blank if the network has no security set.
|
2016-12-19 07:40:21 +00:00
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
config FIRMWARE_UPG_URL
|
|
|
|
string "HTTP Server URL"
|
|
|
|
default "https://192.168.0.3:8070/hello-world.bin"
|
|
|
|
help
|
|
|
|
HTTP Server IP to download the image file from.
|
2016-12-19 07:40:21 +00:00
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
See example README.md for details.
|
2016-12-19 07:40:21 +00:00
|
|
|
|
2019-12-30 10:11:10 +00:00
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL_FROM_STDIN
|
|
|
|
bool
|
|
|
|
default y if FIRMWARE_UPG_URL = "FROM_STDIN"
|
|
|
|
|
|
|
|
config EXAMPLE_SKIP_COMMON_NAME_CHECK
|
|
|
|
bool "Skip server certificate CN fieldcheck"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This allows you to skip the validation of OTA server certificate CN field.
|
|
|
|
|
|
|
|
config EXAMPLE_SKIP_VERSION_CHECK
|
|
|
|
bool "Skip firmware version check"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This allows you to skip the firmware version check.
|
|
|
|
|
2019-02-13 09:32:23 +00:00
|
|
|
config GPIO_DIAGNOSTIC
|
|
|
|
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.
|
|
|
|
|
2019-12-30 10:11:10 +00:00
|
|
|
config EXAMPLE_OTA_RECV_TIMEOUT
|
|
|
|
int "OTA Receive Timeout"
|
|
|
|
default 5000
|
|
|
|
help
|
|
|
|
Maximum time for reception
|
|
|
|
|
2016-12-19 07:40:21 +00:00
|
|
|
endmenu
|