Blame view

RIOT/pkg/fatfs/Makefile.dep 449 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  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)))
     export CFLAGS+= -DFATFS_FFCONF_OPT_FS_NORTC=0
  else
  	export CFLAGS+= -DFATFS_FFCONF_OPT_FS_NORTC=1
  endif