diff --git a/conf/airframes/Poine/booz2_a1.xml b/conf/airframes/Poine/booz2_a1.xml
index 5dfc014ecb..0f38723895 100644
--- a/conf/airframes/Poine/booz2_a1.xml
+++ b/conf/airframes/Poine/booz2_a1.xml
@@ -40,18 +40,17 @@
-
+
+
+
-
-
-
diff --git a/conf/airframes/Poine/booz2_a7.xml b/conf/airframes/Poine/booz2_a7.xml
index 3d5cad52c8..4949dcffa7 100644
--- a/conf/airframes/Poine/booz2_a7.xml
+++ b/conf/airframes/Poine/booz2_a7.xml
@@ -33,9 +33,9 @@
-
-
-
+
+
+
diff --git a/conf/airframes/booz2_ppzuav.xml b/conf/airframes/booz2_ppzuav.xml
index 0e9e9d474f..ea422a88fe 100644
--- a/conf/airframes/booz2_ppzuav.xml
+++ b/conf/airframes/booz2_ppzuav.xml
@@ -1,10 +1,18 @@
-
+
-
-
-
-
-
+
+
+
+
+
+
+
@@ -14,18 +22,18 @@
-
+
-
-
-
+
+
+
-
-
+
+
@@ -33,51 +41,63 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
@@ -97,8 +117,7 @@
-
-
-
-
-
+
+
+
-
-
-
+
+
+
@@ -131,77 +150,81 @@
-
-
-
-
-
-
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
-
-
-ARCH=lpc21
-BOARD_CFG = \"boards/booz2_v1_0.h\"
-
-# prevents motors from ever starting
-#ap.CFLAGS += -DKILL_MOTORS
-
-include $(PAPARAZZI_SRC)/conf/autopilot/booz2_common.makefile
-include $(CFG_BOOZ)/booz2_autopilot.makefile
-include $(CFG_BOOZ)/booz2_test_progs.makefile
-
-#ap.CFLAGS += -DMODEM_BAUD=B38400
-ap.CFLAGS += -DMODEM_BAUD=B57600
-include $(CFG_BOOZ)/subsystems/booz2_radio_control_ppm.makefile
-include $(CFG_BOOZ)/subsystems/booz2_actuators_asctec.makefile
-include $(CFG_BOOZ)/subsystems/booz2_imu_b2v1_1.makefile
-include $(CFG_BOOZ)/subsystems/booz2_gps.makefile
-
-include $(CFG_BOOZ)/subsystems/booz2_ahrs_cmpl.makefile
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/conf/autopilot/subsystems/rotorcraft/ahrs_cmpl.makefile b/conf/autopilot/subsystems/rotorcraft/ahrs_cmpl.makefile
index 3a59457b35..eaee1d012b 100644
--- a/conf/autopilot/subsystems/rotorcraft/ahrs_cmpl.makefile
+++ b/conf/autopilot/subsystems/rotorcraft/ahrs_cmpl.makefile
@@ -2,7 +2,7 @@
# Complementary filter for attitude estimation
#
-ap.CFLAGS += -DUSE_AHRS_CMPL -DAHRS_ALIGNER_LED=3 -DBOOZ_AHRS_FIXED_POINT
+ap.CFLAGS += -DUSE_AHRS_CMPL -DAHRS_ALIGNER_LED=$(AHRS_ALIGNER_LED) -DBOOZ_AHRS_FIXED_POINT
ap.srcs += $(SRC_BOOZ)/booz_ahrs.c
ap.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_aligner.c
ap.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_cmpl_euler.c
diff --git a/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile b/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile
index e3253a966d..5e790091f7 100644
--- a/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile
+++ b/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile
@@ -2,12 +2,13 @@
ap.srcs += $(SRC_BOOZ)/booz_gps.c
ap.CFLAGS += -DBOOZ_GPS_TYPE_H=\"gps/booz_gps_ubx.h\"
ap.srcs += $(SRC_BOOZ)/gps/booz_gps_ubx.c
+
+ap.CFLAGS += -DUSE_$(GPS_PORT) -D$(GPS_PORT)_BAUD=$(GPS_BAUD)
+ap.CFLAGS += -DUSE_GPS -DGPS_LINK=$(GPS_PORT) -DGPS_LED=$(GPS_LED)
+
ifeq ($(ARCHI), arm7)
-ap.CFLAGS += -DUSE_UART0 -DUART0_BAUD=B38400 -DUART0_VIC_SLOT=5
-ap.CFLAGS += -DUSE_GPS -DGPS_LINK=Uart0 -DGPS_LED=4
-else ifeq ($(ARCHI), stm32)
-ap.CFLAGS += -DUSE_UART1 -DUART1_BAUD=B38400
-ap.CFLAGS += -DUSE_GPS -DGPS_LINK=Uart1 -DGPS_LED=3
+ap.CFLAGS += -D$(GPS_PORT)_VIC_SLOT=5
endif
+
sim.CFLAGS += -DUSE_GPS
sim.srcs += $(SRC_BOOZ)/booz_gps.c
diff --git a/conf/boards/booz_1.0.makefile b/conf/boards/booz_1.0.makefile
index ee17921bf2..3dd9372413 100644
--- a/conf/boards/booz_1.0.makefile
+++ b/conf/boards/booz_1.0.makefile
@@ -19,10 +19,16 @@ endif
#
#
-SYS_TIME_LED = 1
+#SYS_TIME_LED = 1 # not used
RADIO_CONTROL_LED = 1
RADIO_CONTROL_LINK = UART0
MODEM_PORT = UART1
MODEM_BAUD = B57600
+
+AHRS_ALIGNER_LED = 3
+
+GPS_PORT=UART0
+GPS_BAUD=B38400
+GPS_LED=4
\ No newline at end of file
diff --git a/conf/boards/lisa_l_1.0.makefile b/conf/boards/lisa_l_1.0.makefile
index 7c0a893458..5cd2ffbc3b 100644
--- a/conf/boards/lisa_l_1.0.makefile
+++ b/conf/boards/lisa_l_1.0.makefile
@@ -27,3 +27,8 @@ RADIO_CONTROL_LINK = UART3
MODEM_PORT=UART2
MODEM_BAUD=B57600
+AHRS_ALIGNER_LED = 7
+
+GPS_PORT=UART1
+GPS_BAUD=B38400
+GPS_LED = 3
diff --git a/sw/airborne/booz/booz2_main.c b/sw/airborne/booz/booz2_main.c
index 7c02ff0c34..934e5fbeee 100644
--- a/sw/airborne/booz/booz2_main.c
+++ b/sw/airborne/booz/booz2_main.c
@@ -41,6 +41,7 @@
#include "booz_imu.h"
#include "booz_gps.h"
+#include "booz/booz2_analog.h"
#include "rotorcraft/baro.h"
#include "booz2_battery.h"