diff --git a/conf/airframes/twinstar5.xml b/conf/airframes/twinstar5.xml index 0b9ff77e25..544ae305f9 100644 --- a/conf/airframes/twinstar5.xml +++ b/conf/airframes/twinstar5.xml @@ -113,6 +113,9 @@ include $(PAPARAZZI_SRC)/conf/autopilot/classix_proto1.makefile +fbw.CFLAGS += -DFBW -DCONFIG=\"classix_proto1.h\" -DLED -DTIME_LED=1 +fbw.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main.c + fbw.srcs += commands.c fbw.CFLAGS += -DACTUATORS=\"servos_4017_hw.h\" -DSERVOS_4017 -DSERVOS_4017_CLOCK_FALLING @@ -125,11 +128,16 @@ fbw.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLI fbw.srcs += downlink.c pprz_transport.c $(SRC_ARCH)/uart_hw.c fbw.CFLAGS += -DINTER_MCU -DMCU_SPI_LINK + fbw.srcs += inter_mcu.c link_mcu.c spi.c $(SRC_ARCH)/spi_hw.c fbw.srcs += $(SRC_ARCH)/adc_hw.c + +ap.CFLAGS += -DAP -DCONFIG=\"classix_proto1.h\" -DLED -DTIME_LED=1 +ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_ap_2.c main.c + ap.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_AP_DEVICE=Uart0 ap.srcs += downlink.c pprz_transport.c $(SRC_ARCH)/uart_hw.c diff --git a/conf/airframes/twinstar6.xml b/conf/airframes/twinstar6.xml new file mode 100644 index 0000000000..f3edbed8ba --- /dev/null +++ b/conf/airframes/twinstar6.xml @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + +
+ + + + + + + + + + +
+ +
+ + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + +
+ +
+ + + + + +
+ +
+ + +
+ +
+ + + +
+ +
+ + + + + +
+ + +include $(PAPARAZZI_SRC)/conf/autopilot/classix.makefile + +fbw.srcs += commands.c + +fbw.CFLAGS += -DFBW -DCONFIG=\"classix.h\" -DLED -DTIME_LED=1 +fbw.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_fbw.c main.c + +fbw.CFLAGS += -DACTUATORS=\"servos_4017_hw.h\" -DSERVOS_4017 -DSERVOS_4017_CLOCK_FALLING +fbw.srcs += $(SRC_ARCH)/servos_4017_hw.c + +fbw.CFLAGS += -DRADIO_CONTROL -DRADIO_CONTROL_TYPE=RC_FUTABA +fbw.srcs += radio_control.c $(SRC_ARCH)/ppm_hw.c + +fbw.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_FBW_DEVICE=Uart0 +fbw.srcs += downlink.c pprz_transport.c $(SRC_ARCH)/uart_hw.c + +fbw.CFLAGS += -DINTER_MCU -DMCU_SPI_LINK + +fbw.srcs += inter_mcu.c link_mcu.c spi.c $(SRC_ARCH)/spi_hw.c + +fbw.srcs += $(SRC_ARCH)/adc_hw.c + + +ap.CFLAGS += -DAP -DCONFIG=\"classix.h\" -DLED -DTIME_LED=1 +ap.srcs = sys_time.c $(SRC_ARCH)/sys_time_hw.c $(SRC_ARCH)/armVIC.c main_ap_2.c main.c + +ap.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=PprzTransport -DDOWNLINK_AP_DEVICE=Uart0 +ap.srcs += downlink.c pprz_transport.c $(SRC_ARCH)/uart_hw.c + +ap.CFLAGS += -DINTER_MCU -DMCU_SPI_LINK +ap.srcs += inter_mcu.c link_mcu.c spi.c $(SRC_ARCH)/spi_hw.c + +ap.CFLAGS += -DGPS -DUBX -DUSE_UART1 -DGPS_LINK=Uart1 +ap.srcs += gps_ubx.c gps.c + +ap.CFLAGS += -DADC -DUSE_AD0_3 +ap.srcs += $(SRC_ARCH)/adc_hw.c + + +