File tree 4 files changed +14
-6
lines changed
WiFi/examples/WiFiClientEnterprise
WiFiProv/examples/WiFiProv
4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change
1
+ #include " sdkconfig.h"
2
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
3
+ #error "WPA-Enterprise is only supported in SoCs with native Wi-Fi support"
4
+ #endif
5
+
1
6
#include < WiFi.h> // Wifi library
2
7
#define EAP_IDENTITY " login" // if connecting from another corporation, use identity@organization.domain in Eduroam
3
8
#define EAP_USERNAME " login" // oftentimes just a repeat of the identity
Original file line number Diff line number Diff line change 1
1
{
2
- "requires_any" : [
3
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
4
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
2
+ "requires" : [
3
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
5
4
]
6
5
}
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ Note: This sketch takes up a lot of space for the app and may not be able to fla
8
8
- for example "No OTA (2MB APP/2MB SPIFFS)"
9
9
*/
10
10
11
+ #include " sdkconfig.h"
12
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
13
+ #error "WiFiProv is only supported in SoCs with native Wi-Fi support"
14
+ #endif
15
+
11
16
#include " WiFiProv.h"
12
17
#include " WiFi.h"
13
18
Original file line number Diff line number Diff line change 1
1
{
2
2
"fqbn_append" : " PartitionScheme=huge_app" ,
3
- "requires_any" : [
4
- " CONFIG_SOC_WIFI_SUPPORTED=y" ,
5
- " CONFIG_ESP_WIFI_REMOTE_ENABLED=y"
3
+ "requires" : [
4
+ " CONFIG_SOC_WIFI_SUPPORTED=y"
6
5
]
7
6
}
You can’t perform that action at this time.
0 commit comments