Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Firmware/RTK_Everywhere/Begin.ino
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,7 @@ void beginBoard()
present.antennaPhaseCenter_mm = 37.5; // APC of SPK-6E helical L1/L2/L5 antenna
present.needsExternalPpl = true; // Uses the PointPerfect Library
present.gnss_to_uart = true;
present.gnssUpdatePort = "CH342 Channel B";

// The following are present on the optional shield. Devices will be marked offline if shield is not present.
present.charger_mcp73833 = true;
Expand Down Expand Up @@ -874,6 +875,7 @@ void beginBoard()
present.needsExternalPpl = true; // Uses the PointPerfect Library
present.fastPowerOff = true;
present.invertedFastPowerOff = true; // Drive PWRKILL high to cause powerdown
present.gnssUpdatePort = "CH342 Channel A";

// We can't enable GNSS features here because we don't know if lg290pFirmwareVersion is >= v05
// present.minElevation = true;
Expand Down
12 changes: 10 additions & 2 deletions Firmware/RTK_Everywhere/menuSystem.ino
Original file line number Diff line number Diff line change
Expand Up @@ -608,13 +608,21 @@ void menuDebugHardware()
else if (present.gnss_lg290p)
{
systemPrintln();
systemPrintf("QGNSS must be connected to CH342 Port B at %dbps. Begin firmware update from QGNSS (hit "
"the play button) then reset the LG290P.\r\n",
systemPrintf("QGNSS must be connected to %s at %dbps.\r\n",
present.gnssUpdatePort,
settings.dataPortBaud);
systemPrintf("Begin firmware update from QGNSS (hit the play button) "
"then reset the LG290P using menu choice %d.\r\n",
incoming);
gnssReset();
delay(100);
gnssBoot();
systemPrintln("LG290P reset complete.");
gnssConfigureDefaults(); // Set all bits in the request bitfield to cause the GNSS receiver to go
// through a full (re)configuration
recordSystemSettings(); // Record these settings to unit
systemPrintln("GNSS defaults have been applied. GNSS will be configured when you exit the menu.");
systemPrintln("Wait for the update to complete. Then exit the menu.");
}
}
else if (incoming == 14)
Expand Down
2 changes: 2 additions & 0 deletions Firmware/RTK_Everywhere/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -1968,6 +1968,8 @@ struct struct_present
bool dynamicModel = false; // ZED, mosaic, UM980 have dynamic models. LG290P does not.
bool gpioExpanderSwitches = false; // Used on Flex
bool tiltPossible = false; //Flex may have a tilt IMU

const char *gnssUpdatePort = ""; // "CH342 Channel A" etc.
} present;

// Monitor which devices on the device are on or offline.
Expand Down