diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2016-04-26 10:01:58 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-04-26 10:01:58 -0400 |
commit | 9f3be076421d70871b627b256961def30a460ddd (patch) | |
tree | e49f9226540e2ffc811e4817f8eb562b69991ec9 /SConstruct | |
parent | 476d5d1c02c7edb2feae1d8e61318f145113c84a (diff) | |
download | gpsd-9f3be076421d70871b627b256961def30a460ddd.tar.gz |
Give ODROID C2 users some hope of getting HAT autodetection of pps0 right.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -778,6 +778,14 @@ else: announce("Forcing pps=no (neither TIOCMIWAIT nor RFC2783 API is available)") env["pps"] = False + # This works for the Raspberry Pi. Someday, configure more interlligently + # for workalikes like the ODROID C2. + confdefs.append('''\ +/* Magic device which, if present, means to grab a static /dev/pps0 for KPPS */ +#define MAGIC_HAT_GPS "/dev/ttyAMA0" +''') + + confdefs.append('''\ /* Some libcs do not have strlcat/strlcpy. Local copies are provided */ #ifndef HAVE_STRLCAT |