paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5532] made IMU configurable


From: antoine drouin
Subject: [paparazzi-commits] [5532] made IMU configurable
Date: Sat, 21 Aug 2010 20:41:48 +0000

Revision: 5532
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5532
Author:   poine
Date:     2010-08-21 20:41:48 +0000 (Sat, 21 Aug 2010)
Log Message:
-----------
made IMU configurable

Modified Paths:
--------------
    paparazzi3/trunk/conf/autopilot/lisa_passthrough.makefile

Modified: paparazzi3/trunk/conf/autopilot/lisa_passthrough.makefile
===================================================================
--- paparazzi3/trunk/conf/autopilot/lisa_passthrough.makefile   2010-08-21 
20:40:54 UTC (rev 5531)
+++ paparazzi3/trunk/conf/autopilot/lisa_passthrough.makefile   2010-08-21 
20:41:48 UTC (rev 5532)
@@ -17,8 +17,9 @@
 stm_passthrough.ARCHDIR = stm32
 stm_passthrough.TARGET = stm_passthrough
 stm_passthrough.TARGETDIR = stm_passthrough
-stm_passthrough.CFLAGS += -I$(SRC_LISA) -I$(SRC_LISA_ARCH) -I$(SRC_BOOZ) 
-I$(SRC_BOOZ_ARCH) -DPERIPHERALS_AUTO_INIT
+stm_passthrough.CFLAGS += -I$(SRC_LISA) -I$(SRC_LISA_ARCH) -I$(SRC_BOOZ) 
-I$(SRC_BOOZ_ARCH)
 stm_passthrough.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
+stm_passthrough.CFLAGS += -DPERIPHERALS_AUTO_INIT
 stm_passthrough.srcs = $(SRC_LISA)/lisa_stm_passthrough_main.c \
                        $(SRC_ARCH)/stm32_exceptions.c          \
                        $(SRC_ARCH)/stm32_vector_table.c
@@ -28,31 +29,32 @@
 stm_passthrough.srcs += $(SRC_ARCH)/led_hw.c
 
 # Sys time
-stm_passthrough.CFLAGS += -DUSE_SYS_TIME -DSYS_TIME_LED=1
+stm_passthrough.CFLAGS += -DUSE_SYS_TIME
 stm_passthrough.CFLAGS += -DPERIODIC_TASK_PERIOD='SYS_TICS_OF_SEC(1./512.)'
+stm_passthrough.CFLAGS += -DSYS_TIME_LED=1
 stm_passthrough.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
 
 # Telemetry
+stm_passthrough.CFLAGS += -DDOWNLINK 
+stm_passthrough.CFLAGS += -DDOWNLINK_TRANSPORT=PprzTransport 
-DDOWNLINK_DEVICE=Uart2 
+stm_passthrough.srcs += downlink.c pprz_transport.c
 stm_passthrough.CFLAGS += -DUSE_UART2 -DUART2_BAUD=B57600
 stm_passthrough.srcs += $(SRC_ARCH)/uart_hw.c
-stm_passthrough.CFLAGS += -DDOWNLINK -DDOWNLINK_TRANSPORT=PprzTransport 
-DDOWNLINK_DEVICE=Uart2 
-stm_passthrough.srcs += downlink.c pprz_transport.c
 
 # Link Overo
-stm_passthrough.CFLAGS += -DUSE_OVERO_LINK 
-DOVERO_LINK_MSG_UP=AutopilotMessagePTUp 
-DOVERO_LINK_MSG_DOWN=AutopilotMessagePTDown
+stm_passthrough.CFLAGS += -DUSE_OVERO_LINK
+stm_passthrough.CFLAGS += -DOVERO_LINK_MSG_UP=AutopilotMessagePTUp 
+stm_passthrough.CFLAGS += -DOVERO_LINK_MSG_DOWN=AutopilotMessagePTDown
 stm_passthrough.CFLAGS += -DOVERO_LINK_LED_OK=3 -DOVERO_LINK_LED_KO=2 
-DUSE_DMA1_C2_IRQ
 stm_passthrough.srcs += $(SRC_LISA)/lisa_overo_link.c           \
                        $(SRC_LISA_ARCH)/lisa_overo_link_arch.c
 
 # IMU
-stm_passthrough.CFLAGS += -DBOOZ_IMU_TYPE_H=\"imu/booz_imu_b2.h\"
-stm_passthrough.CFLAGS += -DIMU_B2_VERSION_1_1
-stm_passthrough.CFLAGS += -DIMU_B2_MAG_TYPE=IMU_B2_MAG_MS2001
-stm_passthrough.srcs += $(SRC_BOOZ)/booz_imu.c
-stm_passthrough.CFLAGS += -DUSE_SPI2 -DUSE_DMA1_C4_IRQ -DUSE_EXTI2_IRQ 
-DUSE_SPI2_IRQ
-stm_passthrough.srcs += $(SRC_BOOZ)/imu/booz_imu_b2.c 
$(SRC_BOOZ_ARCH)/imu/booz_imu_b2_arch.c
-stm_passthrough.srcs += $(SRC_BOOZ)/peripherals/booz_max1168.c 
$(SRC_BOOZ_ARCH)/peripherals/booz_max1168_arch.c
-stm_passthrough.srcs += $(SRC_BOOZ)/peripherals/booz_ms2001.c  
$(SRC_BOOZ_ARCH)/peripherals/booz_ms2001_arch.c
+#
+# include subsystem/lisa_passthrough/imu_b2_v1_1.makefile
+#
+
+
 stm_passthrough.srcs += math/pprz_trig_int.c
 
 stm_passthrough.srcs += $(SRC_BOOZ)/booz2_commands.c




reply via email to

[Prev in Thread] Current Thread [Next in Thread]