meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.58k stars 890 forks source link

Fix Ublox M10 Setup #4842

Closed fifieldt closed 1 month ago

fifieldt commented 1 month ago

There is no EXTINT pin available on the Tdeck, which uses the Ublox M10 GPS. Therefore our previous hack to use that pin makes the GPS not work. That workaround was implemented to fix sleep issues which have now since been fixed with the state machine.

This patch restores the state prior to the hack, which is known-working.

Additionaly, it was discovered that M10s hate it when you try and save to non-extistent eeprom/SPI flash.

This patch creates a new SAVE command for the M10 that fixes this issue.

Many thanks to @MisterC925 whose report and testing was essential for this fix.

fixes https://github.com/meshtastic/firmware/issues/4625