paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] GPS NMEA Parse


From: Alexandre Bustico
Subject: Re: [Paparazzi-devel] GPS NMEA Parse
Date: Tue, 02 Apr 2013 16:53:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4

Le 02/04/2013 10:31, Leonardo de Almeida e Bueno a écrit :
Alexandre,

I adapted you code to work in my system, but the whole package (including gpsAcquisition and nmeaFrame) is 6kB (when optimized). Do you have any tip on how can I reduce this size?

Best Regards



I suppose that it's 6kB in flash ?

since we use mcu constrained in ram, but with large (1mB) flash, i have choose to put the binding table in flash and not in ram,
so i'am not surprised of the "big" flash memory print.

You could save some room, removing fieldName field from struct NmeaFieldDesc if you don't use it. If you never use double value, you can remove f_d field drom the anonymous union in struct NmeaParam, since the size of the union is the size of
the biggest member.

Alexandre



reply via email to

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