1
0
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:
Benjamin Valentin 2023-02-02 02:09:15 +01:00 committed by Benjamin Valentin
parent b1feb0fd93
commit f78cdbb095
4 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -26,6 +26,7 @@ LOW_MEMORY_BOARDS := \
nucleo-f302r8 \
saml10-xpro \
saml11-xpro \
sipeed-longan-nano \
spark-core \
stm32f7508-dk \
stm32mp157c-dk2 \