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 TARGET_FLAGS
= -D
$(TARGET
)
14 MCU_FLASH_SIZE
:= 2048
21 drivers
/bus_i2c_config.c \
23 drivers
/bus_spi_config.c \
24 drivers
/bus_spi_pinconfig.c \
26 drivers
/pwm_output.c \
30 drivers
/serial_escserial.c \
31 drivers
/serial_pinconfig.c \
32 drivers
/serial_uart.c \
33 drivers
/serial_uart_init.c \
34 drivers
/serial_uart_pinconfig.c \
35 drivers
/rx
/rx_xn297.c \
36 drivers
/display_ug2864hsweg01.c \
42 TARGET_MAP
= $(OBJECT_DIR
)/$(FORKNAME
)_
$(TARGET
).map
52 -Wl
,-gc-sections
,-Map
,$(TARGET_MAP
) \
57 ifneq ($(filter SITL_STATIC
,$(OPTIONS
)),)
64 OPTIMISE_DEFAULT
:= -Ofast
65 OPTIMISE_SPEED
:= -Ofast
68 LTO_FLAGS
:= $(OPTIMISATION_BASE
) $(OPTIMISE_SPEED
)