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.
14 lines
312 B
Makefile
14 lines
312 B
Makefile
# Enable/disable extra modules
|
|
|
|
# wiznet5k module for ethernet support; valid values are:
|
|
# 0 : no Wiznet support
|
|
# 5200 : support for W5200 module
|
|
# 5500 : support for W5500 module
|
|
MICROPY_PY_WIZNET5K ?= 0
|
|
|
|
# cc3k module for wifi support
|
|
MICROPY_PY_CC3K ?= 0
|
|
|
|
# VFS FAT FS support
|
|
MICROPY_VFS_FAT ?= 1
|