[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5987] add SRC_FIRMWARE to include dirs for test pro
From: |
Felix Ruess |
Subject: |
[paparazzi-commits] [5987] add SRC_FIRMWARE to include dirs for test progs |
Date: |
Tue, 28 Sep 2010 09:33:01 +0000 |
Revision: 5987
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5987
Author: flixr
Date: 2010-09-28 09:33:01 +0000 (Tue, 28 Sep 2010)
Log Message:
-----------
add SRC_FIRMWARE to include dirs for test progs
Modified Paths:
--------------
paparazzi3/trunk/conf/autopilot/lisa_l_test_progs.makefile
paparazzi3/trunk/sw/airborne/test/test_esc_mkk_simple.c
Modified: paparazzi3/trunk/conf/autopilot/lisa_l_test_progs.makefile
===================================================================
--- paparazzi3/trunk/conf/autopilot/lisa_l_test_progs.makefile 2010-09-28
09:13:35 UTC (rev 5986)
+++ paparazzi3/trunk/conf/autopilot/lisa_l_test_progs.makefile 2010-09-28
09:33:01 UTC (rev 5987)
@@ -66,7 +66,7 @@
# MODEM_BAUD :
#
test_telemetry.ARCHDIR = $(ARCH)
-test_telemetry.CFLAGS += -I$(SRC_LISA) -I$(SRC_ARCH) -DPERIPHERALS_AUTO_INIT
+test_telemetry.CFLAGS += -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(SRC_ARCH)
-DPERIPHERALS_AUTO_INIT
test_telemetry.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_telemetry.srcs = test/test_telemetry.c \
$(SRC_ARCH)/stm32_exceptions.c \
@@ -92,8 +92,8 @@
# MODEM_PORT
# MODEM_BAUD
#
-test_baro.ARCHDIR = $(ARCH)
-test_baro.CFLAGS = -I$(SRC_LISA) -I$(SRC_ARCH) -I$(SRC_BOARD)
-DPERIPHERALS_AUTO_INIT
+test_baro.ARCHDIR = $(ARCH)
+test_baro.CFLAGS = -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(SRC_ARCH)
-I$(SRC_BOARD) -DPERIPHERALS_AUTO_INIT
test_baro.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_baro.srcs = $(SRC_BOARD)/test_baro.c \
$(SRC_ARCH)/stm32_exceptions.c \
@@ -125,7 +125,7 @@
#
test_rc_spektrum.ARCHDIR = $(ARCH)
-test_rc_spektrum.CFLAGS += -I$(SRC_ARCH) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
-DPERIPHERALS_AUTO_INIT
+test_rc_spektrum.CFLAGS += -I$(SRC_FIRMWARE) -I$(SRC_ARCH) -I$(SRC_BOOZ)
-I$(SRC_BOOZ_ARCH) -DPERIPHERALS_AUTO_INIT
test_rc_spektrum.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_rc_spektrum.srcs += $(SRC_BOOZ_TEST)/booz2_test_radio_control.c \
$(SRC_ARCH)/stm32_exceptions.c \
@@ -162,7 +162,7 @@
#
test_rc_ppm.ARCHDIR = $(ARCH)
-test_rc_ppm.CFLAGS += -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH) -I$(SRC_BOARD)
+test_rc_ppm.CFLAGS += -I$(SRC_FIRMWARE) -I$(SRC_BOOZ) -I$(SRC_BOOZ_ARCH)
-I$(SRC_BOARD)
test_rc_ppm.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_rc_ppm.CFLAGS += -DPERIPHERALS_AUTO_INIT
test_rc_ppm.srcs += $(SRC_BOOZ)/test/booz2_test_radio_control.c \
@@ -197,7 +197,7 @@
# MODEM_BAUD
#
test_adc.ARCHDIR = $(ARCH)
-test_adc.CFLAGS = -I$(SRC_LISA) -I$(ARCH) -DPERIPHERALS_AUTO_INIT
+test_adc.CFLAGS = -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(ARCH)
-DPERIPHERALS_AUTO_INIT
test_adc.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_adc.srcs = $(SRC_LISA)/test_adc.c \
@@ -315,7 +315,7 @@
# test hmc5843
#
test_hmc5843.ARCHDIR = $(ARCH)
-test_hmc5843.CFLAGS = -I$(SRC_LISA) -I$(ARCH) -Ibooz -DPERIPHERALS_AUTO_INIT
+test_hmc5843.CFLAGS = -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(ARCH) -Ibooz
-DPERIPHERALS_AUTO_INIT
test_hmc5843.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_hmc5843.srcs = lisa/test/lisa_test_hmc5843.c \
$(SRC_ARCH)/stm32_exceptions.c \
@@ -342,8 +342,8 @@
# test ITG3200
#
test_itg3200.ARCHDIR = $(ARCH)
-test_itg3200.CFLAGS = -I$(SRC_LISA) -I$(ARCH) -I$(SRC_BOOZ)
-I$(SRC_BOOZ_ARCH) -DPERIPHERALS_AUTO_INIT
-test_itg3200.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
+test_itg3200.CFLAGS = -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(ARCH) -I$(SRC_BOOZ)
-I$(SRC_BOOZ_ARCH) -DPERIPHERALS_AUTO_INIT
+test_itg3200.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_itg3200.srcs += lisa/test/lisa_test_itg3200.c \
$(SRC_ARCH)/stm32_exceptions.c \
$(SRC_ARCH)/stm32_vector_table.c
@@ -370,7 +370,7 @@
# test adxl345 with DMA
#
test_adxl345.ARCHDIR = $(ARCH)
-test_adxl345.CFLAGS = -I$(SRC_LISA) -I$(ARCH) -I$(SRC_BOOZ)
-I$(SRC_BOOZ_ARCH) -DPERIPHERALS_AUTO_INIT
+test_adxl345.CFLAGS = -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(ARCH) -I$(SRC_BOOZ)
-I$(SRC_BOOZ_ARCH) -DPERIPHERALS_AUTO_INIT
test_adxl345.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_adxl345.srcs += lisa/test/lisa_test_adxl345_dma.c \
$(SRC_ARCH)/stm32_exceptions.c \
@@ -398,7 +398,7 @@
# simple test of mikrokopter motor controllers
#
test_esc_mkk_simple.ARCHDIR = $(ARCH)
-test_esc_mkk_simple.CFLAGS = -I$(SRC_LISA) -I$(ARCH) -DPERIPHERALS_AUTO_INIT
+test_esc_mkk_simple.CFLAGS = -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(ARCH)
-DPERIPHERALS_AUTO_INIT
test_esc_mkk_simple.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_esc_mkk_simple.srcs = test/test_esc_mkk_simple.c \
$(SRC_ARCH)/stm32_exceptions.c \
@@ -416,7 +416,7 @@
# simple test of asctec v1 motor controllers
#
test_esc_asctecv1_simple.ARCHDIR = $(ARCH)
-test_esc_asctecv1_simple.CFLAGS = -I$(SRC_LISA) -I$(ARCH)
-DPERIPHERALS_AUTO_INIT
+test_esc_asctecv1_simple.CFLAGS = -I$(SRC_FIRMWARE) -I$(SRC_LISA) -I$(ARCH)
-DPERIPHERALS_AUTO_INIT
test_esc_asctecv1_simple.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG)
test_esc_asctecv1_simple.srcs = test/test_esc_asctecv1_simple.c \
$(SRC_ARCH)/stm32_exceptions.c \
Modified: paparazzi3/trunk/sw/airborne/test/test_esc_mkk_simple.c
===================================================================
--- paparazzi3/trunk/sw/airborne/test/test_esc_mkk_simple.c 2010-09-28
09:13:35 UTC (rev 5986)
+++ paparazzi3/trunk/sw/airborne/test/test_esc_mkk_simple.c 2010-09-28
09:33:01 UTC (rev 5987)
@@ -1,6 +1,6 @@
/*
* $Id$
- *
+ *
* Copyright (C) 2009 Antoine Drouin <address@hidden>
*
* This file is part of paparazzi.
@@ -18,7 +18,7 @@
* You should have received a copy of the GNU General Public License
* along with paparazzi; see the file COPYING. If not, write to
* the Free Software Foundation, 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Boston, MA 02111-1307, USA.
*/
@@ -54,7 +54,7 @@
static inline void main_periodic_task( void ) {
-
+
trans.type = I2CTransTx;
trans.buf[0] = 0x04;
trans.len_w = 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5987] add SRC_FIRMWARE to include dirs for test progs,
Felix Ruess <=