mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
17 lines
437 B
Makefile
17 lines
437 B
Makefile
ifneq (,$(filter fatfs_diskio_sdcard_spi,$(USEMODULE)))
|
|
USEMODULE += sdcard_spi
|
|
endif
|
|
|
|
ifneq (,$(filter fatfs,$(USEPKG)))
|
|
USEMODULE += fatfs_diskio_common
|
|
endif
|
|
|
|
include $(RIOTBASE)/boards/$(BOARD)/Makefile.features
|
|
|
|
#if periph_rtc is available use it. Otherwise use static timestamps
|
|
ifneq (, $(filter periph_rtc, $(FEATURES_PROVIDED)))
|
|
CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=0
|
|
else
|
|
CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=1
|
|
endif
|