Override console serial port

This commit is contained in:
Ben Meadors 2023-05-28 07:40:39 -05:00
parent 869390e362
commit 89c6e35ed0

View file

@ -183,7 +183,6 @@ message ModuleConfig {
/*
* Preferences for the SerialModule
* FIXME - Move this out of UserPreferences and into a section for module configuration.
*/
bool enabled = 1;
@ -193,17 +192,17 @@ message ModuleConfig {
bool echo = 2;
/*
* TODO: REPLACE
* RX pin (should match Arduino gpio pin number)
*/
uint32 rxd = 3;
/*
* TODO: REPLACE
* TX pin (should match Arduino gpio pin number)
*/
uint32 txd = 4;
/*
* TODO: REPLACE
* Serial baud rate
*/
Serial_Baud baud = 5;
@ -213,9 +212,16 @@ message ModuleConfig {
uint32 timeout = 6;
/*
* TODO: REPLACE
* Mode for serial module operation
*/
Serial_Mode mode = 7;
/*
* Overrides the platform's defacto Serial port instance to use with Serial module config settings
* This is currently only usable in output modes like NMEA / CalTopo and may behave strangely or not work at all in other modes
* Existing logging over the Serial Console will still be present
*/
bool override_console_serial_port = 8;
}
/*