2018-07-12 08:15:44 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-06-12 04:45:06 -04:00
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL
|
2019-06-10 05:13:24 -04:00
|
|
|
string "firmware upgrade url endpoint"
|
2021-07-05 02:33:56 -04:00
|
|
|
default "https://192.168.0.3:8070/hello_world.bin"
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
2019-06-10 05:13:24 -04:00
|
|
|
URL of server which hosts the firmware
|
|
|
|
image.
|
|
|
|
|
2019-06-12 04:45:06 -04:00
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_URL_FROM_STDIN
|
2019-06-10 05:13:24 -04:00
|
|
|
bool
|
2019-06-20 06:18:20 -04:00
|
|
|
default y if EXAMPLE_FIRMWARE_UPGRADE_URL = "FROM_STDIN"
|
2019-06-12 04:45:06 -04:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2021-01-19 04:51:32 -05:00
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_BIND_IF
|
|
|
|
bool "Support firmware upgrade bind specified interface"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This allows you to bind specified interface in OTA example.
|
|
|
|
|
|
|
|
choice EXAMPLE_FIRMWARE_UPGRADE_BIND_IF_TYPE
|
|
|
|
prompt "Choose OTA data bind interface"
|
|
|
|
default EXAMPLE_FIRMWARE_UPGRADE_BIND_IF_STA
|
|
|
|
depends on EXAMPLE_FIRMWARE_UPGRADE_BIND_IF
|
|
|
|
help
|
|
|
|
Select which interface type of OTA data go through.
|
|
|
|
|
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_BIND_IF_STA
|
|
|
|
bool "Bind wifi station interface"
|
|
|
|
depends on EXAMPLE_CONNECT_WIFI
|
|
|
|
help
|
|
|
|
Select wifi station interface to pass the OTA data.
|
|
|
|
|
|
|
|
config EXAMPLE_FIRMWARE_UPGRADE_BIND_IF_ETH
|
|
|
|
bool "Bind ethernet interface"
|
|
|
|
depends on EXAMPLE_CONNECT_ETHERNET
|
|
|
|
help
|
|
|
|
Select ethernet interface to pass the OTA data.
|
|
|
|
endchoice
|
2018-07-12 08:15:44 -04:00
|
|
|
endmenu
|