mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 07:04:32 +02:00
esp32c6: add wpa_supplicant support
This commit is contained in:
committed by
Song Ruo Jing
parent
22862d7eb2
commit
6b6bb3a321
@@ -29,19 +29,7 @@
|
|||||||
#include "eap_common/eap_wsc_common.h"
|
#include "eap_common/eap_wsc_common.h"
|
||||||
#include "esp_wpas_glue.h"
|
#include "esp_wpas_glue.h"
|
||||||
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
const char *wps_model_number = CONFIG_IDF_TARGET;
|
||||||
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
|
|
||||||
|
|
||||||
void *s_wps_api_lock = NULL; /* Used in WPS public API only, never be freed */
|
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 */
|
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"
|
#include "esp32c2/rom/ets_sys.h"
|
||||||
#elif CONFIG_IDF_TARGET_ESP32H2
|
#elif CONFIG_IDF_TARGET_ESP32H2
|
||||||
#include "esp32h2/rom/ets_sys.h"
|
#include "esp32h2/rom/ets_sys.h"
|
||||||
|
#elif CONFIG_IDF_TARGET_ESP32C6
|
||||||
|
#include "esp32c6/rom/ets_sys.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* !__ets__ */
|
#endif /* !__ets__ */
|
||||||
|
Reference in New Issue
Block a user