diff --git a/conf/airframes/examples/microjet_twog_aspirin.xml b/conf/airframes/examples/microjet_twog_aspirin.xml new file mode 100644 index 0000000000..8160835491 --- /dev/null +++ b/conf/airframes/examples/microjet_twog_aspirin.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + +
+ + + + + + + + + + + +
+ +
+ + + + +
+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+ +
+ + + + +
+ +
+ + +
+ +
+ + + + + +
+ +
+ + + + + + +
+ +
diff --git a/conf/firmwares/subsystems/shared/imu_aspirin_common.makefile b/conf/firmwares/subsystems/shared/imu_aspirin_common.makefile index 8da38597b0..9b7746ca13 100644 --- a/conf/firmwares/subsystems/shared/imu_aspirin_common.makefile +++ b/conf/firmwares/subsystems/shared/imu_aspirin_common.makefile @@ -47,9 +47,9 @@ IMU_ASPIRIN_SRCS += peripherals/itg3200.c IMU_ASPIRIN_SRCS += peripherals/hmc58xx.c ifeq ($(ARCH), lpc21) -$(error Aspirin driver on lpc is unfinished.) IMU_ASPIRIN_CFLAGS += -DUSE_SPI_SLAVE0 -IMU_ASPIRIN_CFLAGS += -DASPIRIN_SPI_DEV=SPI_SLAVE0 +IMU_ASPIRIN_CFLAGS += -DASPIRIN_SPI_SLAVE_IDX=SPI_SLAVE0 +IMU_ASPIRIN_CFLAGS += -DASPIRIN_SPI_DEV=spi1 IMU_ASPIRIN_CFLAGS += -DUSE_SPI1 IMU_ASPIRIN_CFLAGS += -DASPIRIN_I2C_DEV=i2c1 IMU_ASPIRIN_CFLAGS += -DUSE_I2C1 diff --git a/conf/tests_conf.xml b/conf/tests_conf.xml index 7cd3f0995b..422bc6bece 100644 --- a/conf/tests_conf.xml +++ b/conf/tests_conf.xml @@ -105,6 +105,16 @@ settings="settings/fixedwing_basic.xml settings/control/ctl_basic.xml settings/estimation/infrared.xml" gui_color="#6293ba" /> +