mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 09:36:19 +08:00
remove old baro and airspeed subsystems, these are modules now
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
# analog pitotube on ADC
|
||||
|
||||
# <section name="adc" prefix="ADC_CHANNEL_">
|
||||
# <define name="AIRSPEED" value="ADC_5"/>
|
||||
# <define name="AIRSPEED_NB_SAMPLES" value="16"/>
|
||||
# </section>
|
||||
|
||||
# <section name="AIRSPEED" prefix="AIRSPEED_">
|
||||
# <define name="BIAS" value="(168.0f)"/>
|
||||
# <define name="QUADRATIC_SCALE" value="1.2588f"/>
|
||||
# </section>
|
||||
|
||||
ifdef USE_AIRSPEED
|
||||
$(TARGET).CFLAGS += -DUSE_AIRSPEED -DADC_CHANNEL_AIRSPEED_NB_SAMPLES=$(AIRSPEED_NB_SAMPLES)
|
||||
$(TARGET).CFLAGS += -DADC_CHANNEL_AIRSPEED=$(USE_AIRSPEED) -DUSE_$(USE_AIRSPEED)
|
||||
$(TARGET).srcs += airspeed.c
|
||||
else
|
||||
ifdef MEASURE_AIRSPEED
|
||||
$(TARGET).CFLAGS += -DMEASURE_AIRSPEED -DAGR_CLIMB
|
||||
endif
|
||||
endif
|
||||
@@ -1,6 +0,0 @@
|
||||
# EagleTree airspeed sensor
|
||||
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_I2C0
|
||||
sim.srcs += airspeed.c airspeed_ets.c i2c.c $(SRC_ARCH)/i2c_hw.c
|
||||
@@ -1,6 +0,0 @@
|
||||
# EagleTree barometric altitude sensor
|
||||
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
|
||||
Reference in New Issue
Block a user