Merge branch 'feat/ensure_not_all_of_the_security_versions_are_disabled' into 'master'

feat(wifi_prov): Ensure not all security versions are disabled at same time

Closes IDF-12794

See merge request espressif/esp-idf!38029

Related https://github.com/espressif/esp-idf/issues/15549
This commit is contained in:
Mahavir Jain
2025-04-15 21:41:26 +08:00

View File

@@ -234,6 +234,9 @@ typedef enum wifi_prov_security {
*/
WIFI_PROV_SECURITY_2 = 2
#endif
#if !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1 && !CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
#error "All of the protocomm security versions are disabled. Make sure to enable at least one security version."
#endif
} wifi_prov_security_t;
/**