Skip to content

Commit ff0d04d

Browse files
committed
fix(hosted): Fix custom WiFi pins not picked from config
1 parent 491e2d2 commit ff0d04d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

cores/esp32/esp32-hal-hosted.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
#include "esp32-hal-hosted.h"
1919
#include "esp32-hal-log.h"
20+
#include "pins_arduino.h"
2021

2122
#include "esp_hosted.h"
2223
#include "esp_hosted_transport_config.h"

variants/m5stack_tab5/pins_arduino.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ static const uint8_t T11 = 13;
4949
static const uint8_t T12 = 14;
5050
static const uint8_t T13 = 15;
5151

52+
//SDMMC
53+
#define BOARD_HAS_SDMMC
54+
#define BOARD_SDMMC_SLOT 0
55+
5256
//WIFI - ESP32C6
5357
#define BOARD_HAS_SDIO_ESP_HOSTED
5458
#define BOARD_SDIO_ESP_HOSTED_CLK 12

0 commit comments

Comments
 (0)