esp-idf/examples/protocols/esp_local_ctrl/main/Kconfig.projbuild

45 wiersze
1.6 KiB
Plaintext

menu "Example Configuration"
choice EXAMPLE_PROTOCOMM_SECURITY_VERSION
bool "Protocomm security version"
default EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
help
Local Control component offers 3 security versions.
The example offers a choice between security version 0, 1 and 2.
config EXAMPLE_PROTOCOMM_SECURITY_VERSION_0
bool "Security Version 0"
select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0
config EXAMPLE_PROTOCOMM_SECURITY_VERSION_1
bool "Security version 1"
select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1
config EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
bool "Security version 2"
select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
endchoice
choice EXAMPLE_PROTOCOMM_SEC2_MODE
bool "Security version 2 mode"
depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
default EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
config EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
bool "Security version 2 development mode"
depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
help
This enables the development mode for
security version 2.
Please note that this mode is NOT recommended for production purpose.
config EXAMPLE_PROTOCOMM_SEC2_PROD_MODE
bool "Security version 2 production mode"
depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
help
This enables the production mode for
security version 2.
endchoice
endmenu