mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Generalised USB MSC use for all F4 targets with SD card. (#5519)
This commit is contained in:
parent
79debdc993
commit
a8e86880f5
10 changed files with 20 additions and 11 deletions
|
@ -197,7 +197,13 @@ VCP_SRC = \
|
|||
endif
|
||||
|
||||
MSC_SRC = \
|
||||
drivers/usb_msc_f4xx.c
|
||||
drivers/usb_msc_f4xx.c \
|
||||
msc/usbd_msc_desc.c
|
||||
|
||||
ifneq ($(filter SDCARD,$(FEATURES)),)
|
||||
MSC_SRC += \
|
||||
msc/usbd_storage_sd_spi.c
|
||||
endif
|
||||
|
||||
DSP_LIB := $(ROOT)/lib/main/CMSIS/DSP
|
||||
DEVICE_FLAGS += -DARM_MATH_MATRIX_CHECK -DARM_MATH_ROUNDING -D__FPU_PRESENT=1 -DUNALIGNED_SUPPORT_DISABLE -DARM_MATH_CM4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue