Kconfig.projbuild 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. menu "Example Configuration"
  2. choice EXAMPLE_PROTOCOMM_SECURITY_VERSION
  3. bool "Protocomm security version"
  4. default EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
  5. help
  6. Local Control component offers 3 security versions.
  7. The example offers a choice between security version 0, 1 and 2.
  8. config EXAMPLE_PROTOCOMM_SECURITY_VERSION_0
  9. bool "Security Version 0"
  10. select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0
  11. config EXAMPLE_PROTOCOMM_SECURITY_VERSION_1
  12. bool "Security version 1"
  13. select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1
  14. config EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
  15. bool "Security version 2"
  16. select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
  17. endchoice
  18. choice EXAMPLE_PROTOCOMM_SEC2_MODE
  19. bool "Security version 2 mode"
  20. depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
  21. default EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
  22. config EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
  23. bool "Security version 2 development mode"
  24. depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
  25. help
  26. This enables the development mode for
  27. security version 2.
  28. Please note that this mode is NOT recommended for production purpose.
  29. config EXAMPLE_PROTOCOMM_SEC2_PROD_MODE
  30. bool "Security version 2 production mode"
  31. depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
  32. help
  33. This enables the production mode for
  34. security version 2.
  35. endchoice
  36. endmenu