File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
boards/esp32-wemos-lolin-d32-pro Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -18,5 +18,9 @@ config BOARD_ESP32_WEMOS_LOLIN_D32_PRO
1818 select HAS_PERIPH_I2C
1919 select HAS_PERIPH_PWM
2020 select HAS_PERIPH_SPI
21+ select HAS_SDCARD_SPI
22+
23+ select HAVE_MTD_SDCARD_DEFAULT
24+ select MODULE_FATFS_VFS if MODULE_VFS_DEFAULT
2125
2226source "$(RIOTBOARD)/common/esp32/Kconfig"
Original file line number Diff line number Diff line change 1+ ifneq (,$(filter mtd,$(USEMODULE)))
2+ USEMODULE += mtd_sdcard_default
3+ endif
4+
5+ # default to using fatfs on SD card
6+ ifneq (,$(filter vfs_default,$(USEMODULE)))
7+ USEMODULE += fatfs_vfs
8+ USEMODULE += mtd
9+ endif
10+
111include $(RIOTBOARD)/common/esp32/Makefile.dep
Original file line number Diff line number Diff line change @@ -9,5 +9,6 @@ FEATURES_PROVIDED += periph_dac
99FEATURES_PROVIDED += periph_i2c
1010FEATURES_PROVIDED += periph_pwm
1111FEATURES_PROVIDED += periph_spi
12+ FEATURES_PROVIDED += sdcard_spi
1213
1314FEATURES_PROVIDED += arduino
You can’t perform that action at this time.
0 commit comments