diff --git a/conf/autopilot/subsystems/fixedwing/autopilot.makefile b/conf/autopilot/subsystems/fixedwing/autopilot.makefile index e7f87ef2cb..a9c08f7b0c 100644 --- a/conf/autopilot/subsystems/fixedwing/autopilot.makefile +++ b/conf/autopilot/subsystems/fixedwing/autopilot.makefile @@ -25,7 +25,12 @@ # All targets need the board config $(TARGET).CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -$(TARGET).CFLAGS += -DWIND_INFO -DTRAFFIC_INFO +ifeq ($(OPTIONS), minimal) +else + $(TARGET).CFLAGS += -DWIND_INFO +endif + +$(TARGET).CFLAGS += -DTRAFFIC_INFO sim.CFLAGS += -DSITL -DAP -DFBW -DRADIO_CONTROL -DINTER_MCU -DDOWNLINK -DDOWNLINK_TRANSPORT=IvyTransport -DLED sim.srcs += latlong.c radio_control.c downlink.c commands.c gps.c inter_mcu.c estimator.c sys_time.c main_fbw.c main_ap.c datalink.c $(SRC_ARCH)/sim_ap.c $(SRC_ARCH)/ppm_hw.c $(SRC_ARCH)/sim_gps.c $(SRC_ARCH)/ivy_transport.c $(SRC_ARCH)/sim_adc_generic.c $(SRC_ARCH)/led_hw.c diff --git a/conf/messages.xml b/conf/messages.xml index d2b6702116..4a8efb2d44 100644 --- a/conf/messages.xml +++ b/conf/messages.xml @@ -388,7 +388,37 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1868,6 +1898,11 @@ + + + + +