mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
board/esp32-mh-et-live-minikit: improve the use of SPI SD Card module
This commit is contained in:
parent
5646cc02e4
commit
c4de343577
@ -1 +1,13 @@
|
||||
# if the sdcard_spi module is enabled, the SD Card Shield is used
|
||||
ifneq (,$(filter sdcard_spi,$(USEMODULE)))
|
||||
# default to using fatfs on SD card
|
||||
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
||||
USEMODULE += fatfs_vfs
|
||||
USEMODULE += mtd
|
||||
endif
|
||||
ifneq (,$(filter mtd,$(USEMODULE)))
|
||||
USEMODULE += mtd_sdcard_default
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||
|
@ -31,7 +31,7 @@ interesting development kit as it uses in the stackable Wemos D1 Mini format.
|
||||
Thus, all [shields for Wemos D1 mini](https://docs.wemos.cc/en/latest/d1_mini_shield/index.html)
|
||||
for ESP8266 can also be used with ESP32. Examples for such shields are:
|
||||
|
||||
- Micro SD-Card Shield
|
||||
- Micro SD-Card Shield (enable module `sdcard_spi` to use it)
|
||||
- MRF24J40 IEEE 802.15.4 radio Shield
|
||||
- Button Shield
|
||||
- RGB LED Shield
|
||||
|
Loading…
Reference in New Issue
Block a user