Kconfig.projbuild 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. menu "Example Configuration"
  2. config EXAMPLE_FIRMWARE_UPGRADE_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_UPGRADE_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_OTA_RECV_TIMEOUT
  21. int "OTA Receive Timeout"
  22. default 5000
  23. help
  24. Maximum time for reception
  25. config EXAMPLE_ENABLE_PARTIAL_HTTP_DOWNLOAD
  26. bool "Enable partial HTTP download"
  27. default n
  28. help
  29. This enables use of Range header in esp_https_ota component.
  30. Firmware image will be downloaded over multiple HTTP requests.
  31. config EXAMPLE_HTTP_REQUEST_SIZE
  32. int "HTTP request size"
  33. default MBEDTLS_SSL_IN_CONTENT_LEN
  34. depends on EXAMPLE_ENABLE_PARTIAL_HTTP_DOWNLOAD
  35. help
  36. This options specifies HTTP request size. Number of bytes specified
  37. in this option will be downloaded in single HTTP request.
  38. endmenu