|
From: | Pascal Brisset |
Subject: | Re: [Paparazzi-devel] GPS Baud rate/configuration question |
Date: | Thu, 21 Feb 2008 21:21:45 +0100 |
User-agent: | Thunderbird 2.0.0.6 (X11/20071022) |
Hi Tom, the easiest way is to use a dynamic configuration. For example, these two lines in your airframe makefile section: ap.CFLAGS += -DGPS -DUBX -DUSE_UART1 -DGPS_LINK=Uart1 -DUART1_BAUD=B9600 ap.CFLAGS += -DGPS_CONFIGURE -DGPS_BAUD=38400will appropriately configure the GPS unit (the default baud rate is 9600 and here is set to 38400).
The other solution is to use the u-blox center tool through a tunnel uploaded in the tiny ("tunnel" target)
--Pascal Tom Apker wrote:
Hello, I'm trying to get a few new Tiny1.1 boards working, and it seems like everything but the GPS works. The wiki suggests setting the UART1 baud rate to 38,400, while the airframe configuration files that use the Tiny seem to have it set at 19,200. I'm using a uBlox LEA-4P, and haven't run any special configuration on the GPS unit itself. Do I need to do that to use a baud rate higher than 9600? Alternatively, can I just set the -DUART1-BAUD=9600 and have a working system? Many thanks, Tom Apker _______________________________________________ Paparazzi-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |