mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 16:38:36 -07:00
Simple sd card driver (#162)
* fixed inline functions for modern C standart * more stack for application * added library * init fatfs library * fatfs example application * Merge with current master * fix typo and delete old files * cmsis os 2 reentrance fix * Reworked dependency wait to support multiple dependency * Build FatFS on local target, syscall.c is target-specific. * run local target ok * testcase for fatfs Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
@@ -54,7 +54,8 @@ C_SOURCES += \
|
||||
$(CUBE_DIR)/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c \
|
||||
$(CUBE_DIR)/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c \
|
||||
$(CUBE_DIR)/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c \
|
||||
$(wildcard $(TARGET_DIR)/Src/*.c)
|
||||
$(wildcard $(TARGET_DIR)/Src/*.c) \
|
||||
$(wildcard $(TARGET_DIR)/Src/fatfs/*.c)
|
||||
|
||||
ASM_SOURCES += $(TARGET_DIR)/startup_stm32l476xx.s
|
||||
|
||||
@@ -77,5 +78,6 @@ CFLAGS += \
|
||||
-I$(CUBE_DIR)/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc \
|
||||
-I$(CUBE_DIR)/Drivers/CMSIS/Device/ST/STM32L4xx/Include \
|
||||
-I$(CUBE_DIR)/Drivers/CMSIS/Include \
|
||||
-I$(CUBE_DIR)/Drivers/CMSIS/Include
|
||||
-I$(CUBE_DIR)/Drivers/CMSIS/Include \
|
||||
-I$(TARGET_DIR)/Src/fatfs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user