refactoring: explicit folder for FatFS

This commit is contained in:
rusefi 2022-08-24 13:55:21 -04:00
parent eb976de07d
commit a22900ea1e
16 changed files with 5 additions and 5 deletions

View File

@ -200,7 +200,7 @@ endif
#Now include RusEFI mk files #Now include RusEFI mk files
include console/binary/tunerstudio.mk include console/binary/tunerstudio.mk
ifeq ($(USE_FATFS),yes) ifeq ($(USE_FATFS),yes)
include $(PROJECT_DIR)/ext/fatfs.mk include $(PROJECT_DIR)/ext/FatFS/fatfs.mk
endif endif
include $(PROJECT_DIR)/hw_layer/mass_storage/mass_storage.mk include $(PROJECT_DIR)/hw_layer/mass_storage/mass_storage.mk
@ -294,7 +294,7 @@ INCDIR = \
$(CHIBIOS)/os/hal/lib/peripherals/sensors \ $(CHIBIOS)/os/hal/lib/peripherals/sensors \
$(RUSEFI_LIB_INC) \ $(RUSEFI_LIB_INC) \
$(CONFDIR) \ $(CONFDIR) \
ext \ ext\FatFS \
$(PROJECT_DIR)/hw_layer/mass_storage \ $(PROJECT_DIR)/hw_layer/mass_storage \
$(PROJECT_DIR)/hw_layer/serial_over_usb \ $(PROJECT_DIR)/hw_layer/serial_over_usb \
$(PROJECT_DIR)/hw_layer/lcd \ $(PROJECT_DIR)/hw_layer/lcd \

View File

@ -1,8 +1,8 @@
# FATFS files. # FATFS files.
FATFSSRC = ${CHIBIOS}/os/various/fatfs_bindings/fatfs_diskio.c \ FATFSSRC = ${CHIBIOS}/os/various/fatfs_bindings/fatfs_diskio.c \
${CHIBIOS}/os/various/fatfs_bindings/fatfs_syscall.c \ ${CHIBIOS}/os/various/fatfs_bindings/fatfs_syscall.c \
${PROJECT_DIR}/ext/ff.c \ ${PROJECT_DIR}/ext/FatFS/ff.c \
${PROJECT_DIR}/ext/ffunicode.c \ ${PROJECT_DIR}/ext/FatFS/ffunicode.c \
${PROJECT_DIR}/ext/option/unicode.c ${PROJECT_DIR}/ext/FatFS/option/unicode.c
FATFSINC = ${PROJECT_DIR}/ext FATFSINC = ${PROJECT_DIR}/ext