Allow for platformio.ini files to override the default values for the
following INA3221 related macros:
TELEM_INA3221_ADDRESS
TELEM_INA3221_SHUNT_VALUE
TELEM_INA3221_NUM_CHANNELS
Signed-off-by: Paul Moore <paul@paul-moore.com>
On the T114, GPS_RESET (pin 38) is the same pin as PIN_3V3_EN.
MicroNMEALocationProvider::begin() sets pin 38 HIGH (powering the 3V3
rail) but stop() never set it back LOW, leaving the GPS module powered
even when disabled.
Assert reset pin in stop() to mirror begin(), and guard
_location->loop() behind gps_active check.
Fixesmeshcore-dev/MeshCore#1628
If no GPS was detected, revert the hardware to the initial state,
otherwise we may see conflicts or increased power consumption on some
boards.
Signed-off-by: Frieder Schrempf <frieder@fris.de>
Serial1 is always true. If we want to check for the presence of a GPS
receiver, we need to check if any data was received.
Signed-off-by: Frieder Schrempf <frieder@fris.de>
Make GPS update interval configurable via settings instead of using hardcoded 1 second value. The interval is persisted from preferences and can be adjusted at runtime through the sensor manager settings interface
- Include actual node altitude in GPS telemetry instead of hardcoded 0.0f
- Extract altitude data from both ublox_GNSS and serial GPS sources
- Update debug logging to display altitude alongside lat/lon coordinates
-Added RAK_4631 define back
-Added includes for common RAK sensors that are currently supported in ESM
-Set global variables to static
-Reduced delay time within the RAK gps init sequence
Changes to migrate sensor code to the ESM.
Added a separate GPS init sequence for the RAK that scans I2C and Serial1 on the various sockets of the various base boards to find the RAK12500. (and soon the RAK12501)
Removed the GPS specific envs from platformio.ini and enabled GPS for all envs.
Verified working with RAK12500 on RAK19007 sockets A and D, as well as RAK19003.