Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/sec1_sec2_support_esp_local_ctrl_example' into …
…'master' esp_local_ctrl: added sec1 and sec2 support in esp_local_ctrl example See merge request espressif/esp-idf!20492
- Loading branch information
Showing
6 changed files
with
207 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters