Skip to content

Commit 46c1855

Browse files
authored
Merge pull request #51 from sparkfun/release_candidate
v2.0.9 - add SFE_UBLOX_REDUCED_PROG_MEM
2 parents 64ba650 + ec673d4 commit 46c1855

4 files changed

+159
-54
lines changed

Diff for: README.md

+14
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ Migrating to v2.0 is easy. There are two small changes all users will need to ma
5353

5454
If you are using the Dead Reckoning Sensor Fusion or High Dynamic Rate messages, you will need to make more small changes to your code. Please see the [dead reckoning examples](./examples/Dead_Reckoning) for more details. There is more detail available in [Theory.md](./Theory.md#migrating-your-code-to-v20) if you need it.
5555

56+
## Memory Usage
57+
58+
The u-blox GNSS library has grown considerably over the years and v2.0.8 came very close to completely filling the program memory on platforms like the ATmega328 (Arduino Uno).
59+
If you want to reduce the amount of memory used by the library, you can edit the header file (_SparkFun_u-blox_GNSS_Arduino_Library.h_) and uncomment line 60:
60+
61+
```
62+
#define SFE_UBLOX_REDUCED_PROG_MEM // Uncommenting this line will delete the minor debug messages to save memory
63+
```
64+
65+
Doing this will save approximately 15% of program memory on the ATmega328.
66+
67+
On Windows platforms, you will normally find _SparkFun_u-blox_GNSS_Arduino_Library.h_ in:
68+
- Documents\Arduino\libraries\SparkFun_u-blox_GNSS_Arduino_Library\src
69+
5670
## SPI Support
5771

5872
In v2.0.8 we added support for SPI, based on a contribution by @aberridg. Thank you Andrew!

Diff for: library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SparkFun u-blox GNSS Arduino Library
2-
version=2.0.8
2+
version=2.0.9
33
author=SparkFun Electronics <[email protected]>
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=Library for I2C and Serial Communication with u-blox GNSS modules<br/><br/>

0 commit comments

Comments
 (0)