Kconfig.projbuild 1.4 KB

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