2 INCLUDE_DIRS
:= $(INCLUDE_DIRS
) \
5 MCU_COMMON_SRC
:= $(ROOT
)/lib
/main
/dyad
/dyad.c
10 LD_SCRIPT
= src
/main
/target
/SITL
/pg.
ld
13 MCU_FLASH_SIZE
:= 2048
20 drivers
/bus_i2c_config.c \
22 drivers
/bus_spi_config.c \
23 drivers
/bus_spi_pinconfig.c \
25 drivers
/pwm_output.c \
29 drivers
/serial_escserial.c \
30 drivers
/serial_pinconfig.c \
31 drivers
/serial_uart.c \
32 drivers
/serial_uart_init.c \
33 drivers
/serial_uart_pinconfig.c \
34 drivers
/rx
/rx_xn297.c \
35 drivers
/display_ug2864hsweg01.c \
41 TARGET_MAP
= $(OBJECT_DIR
)/$(FORKNAME
)_
$(TARGET
).map
51 -Wl
,-gc-sections
,-Map
,$(TARGET_MAP
) \
56 ifneq ($(filter SITL_STATIC
,$(OPTIONS
)),)
63 OPTIMISE_DEFAULT
:= -Ofast
64 OPTIMISE_SPEED
:= -Ofast
67 LTO_FLAGS
:= $(OPTIMISATION_BASE
) $(OPTIMISE_SPEED
)