Files
paparazzi/conf/firmwares/subsystems/fixedwing/intermcu_spi.makefile
T
Christophe De Wagter 3fbef2e490 [fixedwing][feature] AP and FBW on different boards connected via Uart
* with example airframe and updated outdated airframes
* renamed spi version and make it a separate subsystem (e.g. 2 twogs)
2012-10-09 18:37:55 +02:00

12 lines
441 B
Makefile

# Hey Emacs, this is a -*- makefile -*-
# InterMCU type SPI
fbw.CFLAGS += -DMCU_SPI_LINK -DUSE_SPI -DSPI_SLAVE
fbw.srcs += $(SRC_FIXEDWING)/link_mcu_spi.c mcu_periph/spi.c $(SRC_ARCH)/mcu_periph/spi_arch.c
ap_srcs += $(SRC_FIRMWARE)/fbw_downlink.c
ap.CFLAGS += -DMCU_SPI_LINK -DUSE_SPI -DSPI_MASTER -DUSE_SPI_SLAVE0
ap.srcs += $(SRC_FIXEDWING)/link_mcu_spi.c mcu_periph/spi.c $(SRC_ARCH)/mcu_periph/spi_arch.c
SEPARATE_FBW = 1