diff --git a/conf/autopilot/subsystems/fixedwing/airspeed_ets.makefile b/conf/autopilot/subsystems/fixedwing/airspeed_ets.makefile index f1f46a867e..ff4bf6bc87 100644 --- a/conf/autopilot/subsystems/fixedwing/airspeed_ets.makefile +++ b/conf/autopilot/subsystems/fixedwing/airspeed_ets.makefile @@ -1,6 +1,6 @@ # EagleTree sensors (altimeter and airspeed) -ap.CFLAGS += -DUSE_AIRSPEED_ETS -DUSE_AIRSPEED -DUSE_BARO_ETS -DUSE_I2C0 -ap.srcs += airspeed.c airspeed_ets.c baro_ets.c i2c.c $(SRC_ARCH)/i2c_hw.c +ap.CFLAGS += -DUSE_AIRSPEED_ETS -DUSE_AIRSPEED -DUSE_I2C0 +ap.srcs += airspeed.c airspeed_ets.c i2c.c $(SRC_ARCH)/i2c_hw.c -sim.CFLAGS += -DUSE_AIRSPEED_ETS -DUSE_AIRSPEED -DUSE_BARO_ETS -DUSE_I2C0 -sim.srcs += airspeed.c airspeed_ets.c baro_ets.c i2c.c $(SRC_ARCH)/i2c_hw.c +sim.CFLAGS += -DUSE_AIRSPEED_ETS -DUSE_AIRSPEED -DUSE_I2C0 +sim.srcs += airspeed.c airspeed_ets.c i2c.c $(SRC_ARCH)/i2c_hw.c diff --git a/conf/autopilot/subsystems/fixedwing/baro_ets.makefile b/conf/autopilot/subsystems/fixedwing/baro_ets.makefile new file mode 100644 index 0000000000..ec190d5b2d --- /dev/null +++ b/conf/autopilot/subsystems/fixedwing/baro_ets.makefile @@ -0,0 +1,6 @@ +# EagleTree sensors (altimeter and airspeed) +ap.CFLAGS += -DUSE_BARO_ETS -DUSE_I2C0 +ap.srcs += baro_ets.c i2c.c $(SRC_ARCH)/i2c_hw.c + +sim.CFLAGS += -DUSE_BARO_ETS -DUSE_I2C0 +sim.srcs += baro_ets.c i2c.c $(SRC_ARCH)/i2c_hw.c diff --git a/conf/autopilot/subsystems/fixedwing/navigation_bomb.makefile b/conf/autopilot/subsystems/fixedwing/navigation_bomb.makefile new file mode 100644 index 0000000000..758ef836d0 --- /dev/null +++ b/conf/autopilot/subsystems/fixedwing/navigation_bomb.makefile @@ -0,0 +1,7 @@ +# standard and extra fixed wing navigation + + +#add these to all targets + +$(TARGET).srcs += $(SRC_FIXEDWING)/bomb.c +