mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 04:46:51 +08:00
[conf] removed AHRS_MAG_UPDATE_YAW_ONLY from some imu subsystem makefiles, does not exist anymore
* print an error when trying to use the imu aspirin (SPI) subsystems with the lpc
This commit is contained in:
@@ -18,6 +18,3 @@ endif
|
||||
|
||||
ap.CFLAGS += $(IMU_ASPIRIN2_CFLAGS)
|
||||
ap.srcs += $(IMU_ASPIRIN2_SRCS)
|
||||
|
||||
ap.CFLAGS += -DAHRS_MAG_UPDATE_YAW_ONLY
|
||||
|
||||
|
||||
@@ -18,6 +18,3 @@ endif
|
||||
|
||||
ap.CFLAGS += $(IMU_PPZUAV_CFLAGS)
|
||||
ap.srcs += $(IMU_PPZUAV_SRCS)
|
||||
|
||||
ap.CFLAGS += -DAHRS_MAG_UPDATE_YAW_ONLY
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ IMU_ASPIRIN_SRCS += peripherals/hmc5843.c $(SRC_ARCH)/peripherals/hmc5843_arch
|
||||
IMU_ASPIRIN_CFLAGS += -DUSE_I2C2
|
||||
|
||||
ifeq ($(ARCH), lpc21)
|
||||
#TODO
|
||||
$(error The aspirin subsystem (using SPI) is currently not implemnented for the lpc21. Please use the aspirin_i2c subsystem.)
|
||||
else ifeq ($(ARCH), stm32)
|
||||
IMU_ASPIRIN_CFLAGS += -DUSE_EXTI15_10_IRQ # Gyro Int on PC14
|
||||
IMU_ASPIRIN_CFLAGS += -DUSE_EXTI9_5_IRQ # Mag Int on PB5
|
||||
|
||||
Reference in New Issue
Block a user