Kconfig.projbuild 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. menu "Example Configuration"
  2. orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
  3. config EXAMPLE_FIRMWARE_UPG_URL
  4. string "Firmware Upgrade URL"
  5. default "https://192.168.2.106:8070/hello_world.bin"
  6. help
  7. URL of server which hosts the firmware image.
  8. config EXAMPLE_FIRMWARE_UPGRADE_URL_FROM_STDIN
  9. bool
  10. default y if EXAMPLE_FIRMWARE_UPG_URL = "FROM_STDIN"
  11. config EXAMPLE_SKIP_COMMON_NAME_CHECK
  12. bool "Skip server certificate CN fieldcheck"
  13. default n
  14. help
  15. This allows you to skip the validation of OTA server certificate CN field.
  16. config EXAMPLE_SKIP_VERSION_CHECK
  17. bool "Skip firmware version check"
  18. default n
  19. help
  20. This allows you to skip the firmware version check.
  21. config EXAMPLE_GPIO_DIAGNOSTIC
  22. int "Number of the GPIO input for diagnostic"
  23. range ENV_GPIO_RANGE_MIN ENV_GPIO_IN_RANGE_MAX
  24. default 4
  25. help
  26. Used to demonstrate how a rollback works.
  27. The selected GPIO will be configured as an input with internal pull-up enabled.
  28. To trigger a rollback, this GPIO must be pulled low while the message
  29. `Diagnostics (5 sec)...` which will be on first boot.
  30. If GPIO is not pulled low then the operable of the app will be confirmed.
  31. config EXAMPLE_OTA_RECV_TIMEOUT
  32. int "OTA Receive Timeout"
  33. default 5000
  34. help
  35. Maximum time for reception
  36. endmenu