From 9ac96cef85c1c93125f0d2d6486af432117d5eb8 Mon Sep 17 00:00:00 2001 From: Mark Griffin Date: Tue, 31 Aug 2010 16:37:32 +0000 Subject: [PATCH] --- conf/autopilot/subsystems/fixedwing/airspeed_ets.makefile | 8 ++++---- conf/autopilot/subsystems/fixedwing/baro_ets.makefile | 6 ++++++ .../subsystems/fixedwing/navigation_bomb.makefile | 7 +++++++ 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 conf/autopilot/subsystems/fixedwing/baro_ets.makefile create mode 100644 conf/autopilot/subsystems/fixedwing/navigation_bomb.makefile 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 +