altos: Add Mosaic GPS support to TeleMega v3+
authorKeith Packard <keithp@keithp.com>
Wed, 3 Jan 2024 07:10:41 +0000 (23:10 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 3 Jan 2024 20:22:39 +0000 (12:22 -0800)
commit3f503f3993436240d07c61e47bd319646a974596
tree792f5a8074d1239099c3da7082e6ae2fabf317cc
parent010c65fa82aad9d950df519fa7dc111cfbb02104
altos: Add Mosaic GPS support to TeleMega v3+

The Septentrio Mosaic-X5 GNSS module provides exceptional performance
along with reporting data above limits within the uBlox chips.

Support for them as an optional GPS unit, connected via the companion
connector on cs_companion1 (rx) and cs_companion2 (tx). When selected,
the internal GPS unit is not used.

When the external GPS is in use, the regular companion interface is
not available.

Signed-off-by: Keith Packard <keithp@keithp.com>
25 files changed:
src/drivers/ao_companion.c
src/drivers/ao_gps_mosaic.c [new file with mode: 0644]
src/drivers/ao_gps_mosaic.h [new file with mode: 0644]
src/drivers/ao_gps_ublox.c
src/kernel/ao_config.c
src/kernel/ao_config.h
src/kernel/ao_crc_ccitt.c [new file with mode: 0644]
src/kernel/ao_crc_ccitt.h [new file with mode: 0644]
src/kernel/ao_host.h
src/telemega-v3.0/Makefile
src/telemega-v3.0/ao_pins.h
src/telemega-v3.0/ao_telemega.c
src/telemega-v4.0/Makefile
src/telemega-v4.0/ao_pins.h
src/telemega-v4.0/ao_telemega.c
src/telemega-v5.0/Makefile
src/telemega-v5.0/ao_pins.h
src/telemega-v5.0/ao_telemega.c
src/telemega-v6.0/Makefile
src/telemega-v6.0/ao_pins.h
src/telemega-v6.0/ao_telemega.c
src/test/.gitignore
src/test/Makefile
src/test/ao_gps_test_mosaic.c [new file with mode: 0644]
src/test/ao_gps_test_ublox.c