Add NMEA_EXTRAS for command line compile control
This commit is contained in:
parent
2a5b5bdd1c
commit
0b0996bbb0
|
|
@ -31,9 +31,15 @@
|
||||||
Comment out the definition of NMEA_EXTENSIONS to make the library use as
|
Comment out the definition of NMEA_EXTENSIONS to make the library use as
|
||||||
little memory as possible for GPS functionality only. The ARDUINO_ARCH_AVR
|
little memory as possible for GPS functionality only. The ARDUINO_ARCH_AVR
|
||||||
test should leave it out of any compilations for the UNO and similar. */
|
test should leave it out of any compilations for the UNO and similar. */
|
||||||
|
#ifndef NMEA_EXTRAS // inject on the compile command line to force extensions
|
||||||
#ifndef ARDUINO_ARCH_AVR
|
#ifndef ARDUINO_ARCH_AVR
|
||||||
#define NMEA_EXTENSIONS ///< if defined will include more NMEA sentences
|
#define NMEA_EXTENSIONS ///< if defined will include more NMEA sentences
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#if(NMEA_EXTRAS > 0)
|
||||||
|
#define NMEA_EXTENSIONS ///< if defined will include more NMEA sentences
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define USE_SW_SERIAL ///< comment this out if you don't want to include
|
#define USE_SW_SERIAL ///< comment this out if you don't want to include
|
||||||
///< software serial in the library
|
///< software serial in the library
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue