mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32c6: add wpa_supplicant support
This commit is contained in:
parent
22862d7eb2
commit
6b6bb3a321
@ -29,19 +29,7 @@
|
||||
#include "eap_common/eap_wsc_common.h"
|
||||
#include "esp_wpas_glue.h"
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
const char *wps_model_number = "ESP32";
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||
const char *wps_model_number = "ESP32S2";
|
||||
#elif CONFIG_IDF_TARGET_ESP32S3
|
||||
const char *wps_model_number = "ESP32S3";
|
||||
#elif CONFIG_IDF_TARGET_ESP32C3
|
||||
const char *wps_model_number = "ESP32C3";
|
||||
#elif CONFIG_IDF_TARGET_ESP32C2
|
||||
const char *wps_model_number = "ESP32C2";
|
||||
#elif CONFIG_IDF_TARGET_ESP32H2
|
||||
const char *wps_model_number = "ESP32H2";
|
||||
#endif
|
||||
const char *wps_model_number = CONFIG_IDF_TARGET;
|
||||
|
||||
void *s_wps_api_lock = NULL; /* Used in WPS public API only, never be freed */
|
||||
void *s_wps_api_sem = NULL; /* Sync semaphore used between WPS publi API caller task and WPS task */
|
||||
|
@ -71,6 +71,8 @@
|
||||
#include "esp32c2/rom/ets_sys.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32H2
|
||||
#include "esp32h2/rom/ets_sys.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C6
|
||||
#include "esp32c6/rom/ets_sys.h"
|
||||
#endif
|
||||
|
||||
#endif /* !__ets__ */
|
||||
|
Loading…
Reference in New Issue
Block a user