Skip to content

Commit d4464b0

Browse files
committed
py/py.mk: Add CFLAGS_MOD flag to set config file for FatFs.
1 parent 9b08faf commit d4464b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

py/py.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ CSUPEROPT = -O3
1919
INC += -I../lib
2020
INC += -I../lib/netutils
2121

22+
# this sets the config file for FatFs
23+
CFLAGS_MOD += -DFFCONF_H=\"lib/oofatfs/ffconf.h\"
24+
2225
ifeq ($(MICROPY_PY_USSL),1)
2326
CFLAGS_MOD += -DMICROPY_PY_USSL=1
2427
ifeq ($(MICROPY_SSL_AXTLS),1)

0 commit comments

Comments
 (0)