mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Merge pull request #4643 from jflyper/bfdev-target-and-mcu-dependent-optimzation-alternative
Add MCU dependent optimization to sources.mk
This commit is contained in:
commit
5fee45b704
1 changed files with 10 additions and 0 deletions
|
@ -313,6 +313,16 @@ SIZE_OPTIMISED_SRC := $(SIZE_OPTIMISED_SRC) \
|
|||
io/vtx_smartaudio.c \
|
||||
io/vtx_tramp.c \
|
||||
io/vtx_control.c
|
||||
|
||||
# F4 and F7 optimizations
|
||||
ifneq ($(TARGET),$(filter $(TARGET),$(F3_TARGETS)))
|
||||
SPEED_OPTIMISED_SRC := $(SPEED_OPTIMISED_SRC) \
|
||||
drivers/bus_i2c_hal.c \
|
||||
drivers/bus_spi_ll.c \
|
||||
drivers/max7456.c \
|
||||
drivers/pwm_output_dshot.c \
|
||||
drivers/pwm_output_dshot_hal.c
|
||||
endif #!F3
|
||||
endif #!F1
|
||||
|
||||
# check if target.mk supplied
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue