799b6d1e0c
This commit removes the Makefile-level MICROPY_FATFS config and moves the MICROPY_VFS_FAT config to the Makefile level to replace it. It also moves the include of the oofatfs source files in the build from each port to a central place in extmod/extmod.mk. For a port to enabled VFS FAT support it should now set MICROPY_VFS_FAT=1 at the level of the Makefile. This will include the relevant oofatfs files in the build and set MICROPY_VFS_FAT=1 at the C (preprocessor) level.
11 lines
269 B
Makefile
11 lines
269 B
Makefile
MCU_SERIES = f0
|
|
CMSIS_MCU = STM32F091xC
|
|
AF_FILE = boards/stm32f091_af.csv
|
|
LD_FILES = boards/stm32f091xc.ld boards/common_basic.ld
|
|
|
|
# MicroPython settings
|
|
MICROPY_VFS_FAT = 0
|
|
|
|
# Don't include default frozen modules because MCU is tight on flash space
|
|
FROZEN_MANIFEST ?=
|