Skip to content

Commit 8b470d6

Browse files
authored
feat(p4): Add method to set the pins for SDIO to WiFi chip espressif#11513
1 parent 12a0cc2 commit 8b470d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/WiFi/src/WiFiGeneric.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ class WiFiGenericClass {
8282
public:
8383
WiFiGenericClass();
8484

85+
#if CONFIG_ESP_WIFI_REMOTE_ENABLED
86+
// Set SDIO pins for connection to external ESP MCU
87+
static bool setPins(int8_t clk, int8_t cmd, int8_t d0, int8_t d1, int8_t d2, int8_t d3, int8_t rst);
88+
#endif
89+
8590
wifi_event_id_t onEvent(WiFiEventCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
8691
wifi_event_id_t onEvent(WiFiEventFuncCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
8792
wifi_event_id_t onEvent(WiFiEventSysCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);

0 commit comments

Comments
 (0)