mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/sipeed-longan-nano: make use of mtd_sdcard_default
This commit is contained in:
parent
b1feb0fd93
commit
f78cdbb095
@ -22,6 +22,9 @@ config BOARD_SIPEED_LONGAN_NANO
|
||||
select HAS_PERIPH_UART
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
select HAVE_MTD_SDCARD_DEFAULT
|
||||
select MODULE_FATFS_VFS if MODULE_VFS_DEFAULT
|
||||
|
||||
config SIPEED_LONGAN_NANO_WITH_TFT
|
||||
bool "Board with TFT display"
|
||||
help
|
||||
|
@ -2,4 +2,14 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_gpio
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mtd,$(USEMODULE)))
|
||||
USEMODULE += mtd_sdcard_default
|
||||
endif
|
||||
|
||||
# default to using fatfs on SD card
|
||||
ifneq (,$(filter vfs_default,$(USEMODULE)))
|
||||
USEMODULE += fatfs_vfs
|
||||
USEMODULE += mtd
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/common/gd32v/Makefile.dep
|
||||
|
@ -7,5 +7,6 @@ FEATURES_PROVIDED += periph_pwm
|
||||
FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += sdcard_spi
|
||||
|
||||
include $(RIOTBOARD)/common/gd32v/Makefile.features
|
||||
|
@ -26,6 +26,7 @@ LOW_MEMORY_BOARDS := \
|
||||
nucleo-f302r8 \
|
||||
saml10-xpro \
|
||||
saml11-xpro \
|
||||
sipeed-longan-nano \
|
||||
spark-core \
|
||||
stm32f7508-dk \
|
||||
stm32mp157c-dk2 \
|
||||
|
Loading…
Reference in New Issue
Block a user