moved booz/booz2_main.c to firmwares/rotorcraft/main.c

This commit is contained in:
Antoine Drouin
2010-08-22 20:45:21 +00:00
parent 6e7dbf2132
commit 0c80fd0db7
11 changed files with 12 additions and 11 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ SRC_BOOZ=booz
SRC_BOOZ_ARCH=$(SRC_BOOZ)/arch/$(ARCH)
SRC_BOOZ_TEST=$(SRC_BOOZ)/test
SRC_BOARD=boards/$(BOARD)
SRC_FIRMAWRE=firmwares/rotorcraft
SRC_BOOZ_PRIV=booz_priv
@@ -52,7 +53,7 @@ ap.TARGETDIR = ap
ap.CFLAGS += $(BOOZ_INC)
ap.CFLAGS += -DBOARD_CONFIG=$(BOARD_CFG) -DPERIPHERALS_AUTO_INIT
ap.srcs = $(SRC_BOOZ)/booz2_main.c
ap.srcs = $(SRC_FIRMAWRE)/main.c
ifeq ($(ARCHI), stm32)
ap.srcs += lisa/plug_sys.c
+1 -1
View File
@@ -19,7 +19,7 @@ endif
#
#
#SYS_TIME_LED = 1 # not used
SYS_TIME_LED = 1 # not used on rotorcraft, only for tests
RADIO_CONTROL_LED = 1
RADIO_CONTROL_LINK = UART0
+1 -1
View File
@@ -21,7 +21,7 @@
*/
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
#include "airframe.h"
#include "led.h"
+1 -1
View File
@@ -3,7 +3,7 @@
#include "std.h"
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
#include "booz/booz2_analog.h"
/* we don't need that on this board */
+1 -1
View File
@@ -34,7 +34,7 @@
#include "sys_time.h"
#include "downlink.h"
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
static inline void main_init( void );
static inline void main_periodic_task( void );
+1 -1
View File
@@ -1,5 +1,5 @@
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
struct Baro baro;
struct BaroBoard baro_board;
+1 -1
View File
@@ -34,7 +34,7 @@
#include "downlink.h"
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
//#include "my_debug_servo.h"
static inline void main_init( void );
@@ -24,7 +24,7 @@
#include "booz2_analog.h"
/* analog_arch includes baro ??? naaaa we don't want double references */
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
#include "booz2_battery.h"
#ifndef USE_EXTRA_ADC
+1 -1
View File
@@ -25,7 +25,7 @@
#include "booz2_ins.h"
#include "booz_imu.h"
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
#include "booz_gps.h"
#include "airframe.h"
@@ -42,7 +42,7 @@
#include "booz_gps.h"
#include "booz/booz2_analog.h"
#include "rotorcraft/baro.h"
#include "firmwares/rotorcraft/baro.h"
#include "booz2_battery.h"
@@ -59,7 +59,7 @@
#include "booz2_pwm_hw.h"
#endif
#include "booz2_main.h"
#include "firmwares/rotorcraft/main.h"
#ifdef SITL
#include "nps_autopilot_booz.h"