paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [6309] set GPS_LED = 2 per default for tiny and twog


From: Felix Ruess
Subject: [paparazzi-commits] [6309] set GPS_LED = 2 per default for tiny and twog, to not use a GPS led please add <param name=GPS_LED value=none/> to the gps subsystem
Date: Sun, 31 Oct 2010 20:04:49 +0000

Revision: 6309
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6309
Author:   flixr
Date:     2010-10-31 20:04:48 +0000 (Sun, 31 Oct 2010)
Log Message:
-----------
set GPS_LED = 2 per default for tiny and twog, to not use a GPS led please add 
<param name=GPS_LED value=none/> to the gps subsystem

Modified Paths:
--------------
    paparazzi3/trunk/conf/airframes/mentor_tum.xml
    
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea4p.makefile
    
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea5h.makefile
    paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_skytraq.makefile
    paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile
    paparazzi3/trunk/conf/boards/classix.makefile
    paparazzi3/trunk/conf/boards/tiny_0.99.makefile
    paparazzi3/trunk/conf/boards/tiny_1.1.makefile
    paparazzi3/trunk/conf/boards/tiny_2.11.makefile

Modified: paparazzi3/trunk/conf/airframes/mentor_tum.xml
===================================================================
--- paparazzi3/trunk/conf/airframes/mentor_tum.xml      2010-10-30 22:01:09 UTC 
(rev 6308)
+++ paparazzi3/trunk/conf/airframes/mentor_tum.xml      2010-10-31 20:04:48 UTC 
(rev 6309)
@@ -36,7 +36,9 @@
     <subsystem name="telemetry" type="transparent"/>
     <subsystem name="control"/>
     <subsystem name="attitude" type="infrared"/>
-    <subsystem name="gps" type="ublox_lea5h"/>
+    <subsystem name="gps" type="ublox_lea5h">
+      <param name="GPS_LED" value="none"/>
+    </subsystem>
     <subsystem name="navigation" type="extra"/>
   </firmware>
 

Modified: 
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea4p.makefile
===================================================================
--- 
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea4p.makefile   
    2010-10-30 22:01:09 UTC (rev 6308)
+++ 
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea4p.makefile   
    2010-10-31 20:04:48 UTC (rev 6309)
@@ -6,6 +6,10 @@
 ap.CFLAGS += -DUSE_UART$(GPS_UART_NR)
 ap.CFLAGS += -DUART$(GPS_UART_NR)_BAUD=$(GPS_BAUD)
 
+ifneq ($(GPS_LED),none)
+  ap.CFLAGS += -DGPS_LED=$(GPS_LED)
+endif
+
 ap.srcs   += $(SRC_FIXEDWING)/gps_ubx.c
 
 $(TARGET).srcs += $(SRC_FIXEDWING)/gps.c $(SRC_FIXEDWING)/latlong.c

Modified: 
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea5h.makefile
===================================================================
--- 
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea5h.makefile   
    2010-10-30 22:01:09 UTC (rev 6308)
+++ 
paparazzi3/trunk/conf/autopilot/subsystems/fixedwing/gps_ublox_lea5h.makefile   
    2010-10-31 20:04:48 UTC (rev 6309)
@@ -6,6 +6,10 @@
 ap.CFLAGS += -DUSE_UART$(GPS_UART_NR)
 ap.CFLAGS += -DUART$(GPS_UART_NR)_BAUD=$(GPS_BAUD)
 
+ifneq ($(GPS_LED),none)
+  ap.CFLAGS += -DGPS_LED=$(GPS_LED)
+endif
+
 ap.srcs   += $(SRC_FIXEDWING)/gps_ubx.c
 
 $(TARGET).srcs += $(SRC_FIXEDWING)/gps.c $(SRC_FIXEDWING)/latlong.c

Modified: 
paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_skytraq.makefile
===================================================================
--- paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_skytraq.makefile  
2010-10-30 22:01:09 UTC (rev 6308)
+++ paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_skytraq.makefile  
2010-10-31 20:04:48 UTC (rev 6309)
@@ -4,8 +4,12 @@
 ap.srcs += $(SRC_BOOZ)/gps/booz_gps_skytraq.c
 
 ap.CFLAGS += -DUSE_$(GPS_PORT) -D$(GPS_PORT)_BAUD=$(GPS_BAUD)
-ap.CFLAGS += -DUSE_GPS -DGPS_LINK=$(GPS_PORT) -DGPS_LED=$(GPS_LED)
+ap.CFLAGS += -DUSE_GPS -DGPS_LINK=$(GPS_PORT)
 
+ifneq ($(GPS_LED),none)
+  ap.CFLAGS += -DGPS_LED=$(GPS_LED)
+endif
+
 ifeq ($(ARCH), lpc21)
 ap.CFLAGS += -D$(GPS_PORT)_VIC_SLOT=5
 endif

Modified: 
paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile
===================================================================
--- paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile    
2010-10-30 22:01:09 UTC (rev 6308)
+++ paparazzi3/trunk/conf/autopilot/subsystems/rotorcraft/gps_ublox.makefile    
2010-10-31 20:04:48 UTC (rev 6309)
@@ -4,8 +4,12 @@
 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)
+ap.CFLAGS += -DUSE_GPS -DGPS_LINK=$(GPS_PORT)
 
+ifneq ($(GPS_LED),none)
+  ap.CFLAGS += -DGPS_LED=$(GPS_LED)
+endif
+
 ifeq ($(ARCH), lpc21)
 ap.CFLAGS += -D$(GPS_PORT)_VIC_SLOT=5
 endif

Modified: paparazzi3/trunk/conf/boards/classix.makefile
===================================================================
--- paparazzi3/trunk/conf/boards/classix.makefile       2010-10-30 22:01:09 UTC 
(rev 6308)
+++ paparazzi3/trunk/conf/boards/classix.makefile       2010-10-31 20:04:48 UTC 
(rev 6309)
@@ -26,6 +26,7 @@
 
 ### default settings for classix
 GPS_BAUD       = B38400
+GPS_LED = none
 
 # All targets on the TINY board run on the same processor achitecture
 $(TARGET).ARCHDIR = $(ARCH)

Modified: paparazzi3/trunk/conf/boards/tiny_0.99.makefile
===================================================================
--- paparazzi3/trunk/conf/boards/tiny_0.99.makefile     2010-10-30 22:01:09 UTC 
(rev 6308)
+++ paparazzi3/trunk/conf/boards/tiny_0.99.makefile     2010-10-31 20:04:48 UTC 
(rev 6309)
@@ -18,4 +18,5 @@
 
 
 GPS_UART_NR    = 1
+GPS_LED = none
 MODEM_UART_NR = 0

Modified: paparazzi3/trunk/conf/boards/tiny_1.1.makefile
===================================================================
--- paparazzi3/trunk/conf/boards/tiny_1.1.makefile      2010-10-30 22:01:09 UTC 
(rev 6308)
+++ paparazzi3/trunk/conf/boards/tiny_1.1.makefile      2010-10-31 20:04:48 UTC 
(rev 6309)
@@ -17,4 +17,5 @@
 BOARD_CFG = \"tiny_1_1.h\"
 
 GPS_UART_NR    = 1
+GPS_LED = none
 MODEM_UART_NR = 0

Modified: paparazzi3/trunk/conf/boards/tiny_2.11.makefile
===================================================================
--- paparazzi3/trunk/conf/boards/tiny_2.11.makefile     2010-10-30 22:01:09 UTC 
(rev 6308)
+++ paparazzi3/trunk/conf/boards/tiny_2.11.makefile     2010-10-31 20:04:48 UTC 
(rev 6309)
@@ -26,6 +26,7 @@
 ### default settings for tiny_2 and twog
 GPS_UART_NR    = 0
 GPS_BAUD       = B38400
+GPS_LED     = 2
 MODEM_UART_NR  = 1
 MODEM_BAUD     = B57600
 




reply via email to

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