mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 00:53:41 +08:00
[nps][conf] add needed sources/flags for imu/ahrs in fw nps
This commit is contained in:
@@ -27,6 +27,9 @@ AHRS_SRCS += subsystems/ahrs/ahrs_aligner.c
|
||||
ap.CFLAGS += $(AHRS_CFLAGS)
|
||||
ap.srcs += $(AHRS_SRCS)
|
||||
|
||||
#
|
||||
# NPS uses the real algorithm
|
||||
#
|
||||
nps.CFLAGS += $(AHRS_CFLAGS)
|
||||
nps.srcs += $(AHRS_SRCS)
|
||||
|
||||
|
||||
@@ -25,10 +25,12 @@ endif
|
||||
ap.CFLAGS += $(AHRS_CFLAGS)
|
||||
ap.srcs += $(AHRS_SRCS)
|
||||
|
||||
#
|
||||
# NPS uses the real algorithm
|
||||
#
|
||||
nps.CFLAGS += $(AHRS_CFLAGS)
|
||||
nps.srcs += $(AHRS_SRCS)
|
||||
|
||||
|
||||
#
|
||||
# Simple simulation of the AHRS result
|
||||
#
|
||||
|
||||
@@ -36,6 +36,11 @@ ap.srcs += $(AHRS_SRCS)
|
||||
#ap.CFLAGS += -DAHRS_CORRECT_FREQUENCY=$(AHRS_CORRECT_FREQUENCY)
|
||||
#endif
|
||||
|
||||
#
|
||||
# NPS uses the real algorithm
|
||||
#
|
||||
nps.CFLAGS += $(AHRS_CFLAGS)
|
||||
nps.srcs += $(AHRS_SRCS)
|
||||
|
||||
#
|
||||
# Simple simulation of the AHRS result
|
||||
|
||||
@@ -20,5 +20,5 @@
|
||||
# </section>
|
||||
#
|
||||
|
||||
nps.CFLAGS += -DIMU_TYPE_H=\"imu/imu_nps.h\"
|
||||
nps.CFLAGS += -DIMU_TYPE_H=\"imu/imu_nps.h\" -DUSE_IMU
|
||||
nps.srcs += $(SRC_SUBSYSTEMS)/imu.c $(SRC_SUBSYSTEMS)/imu/imu_nps.c
|
||||
|
||||
Reference in New Issue
Block a user