From 599c41d486a3eaf65228f4b7d3d299ac36b2fcd8 Mon Sep 17 00:00:00 2001 From: Consti10 Date: Fri, 26 Apr 2024 10:50:20 +0200 Subject: [PATCH] document new serial --- app/telemetry/settings/documentedparam.cpp | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/app/telemetry/settings/documentedparam.cpp b/app/telemetry/settings/documentedparam.cpp index 234b57176..22950180a 100644 --- a/app/telemetry/settings/documentedparam.cpp +++ b/app/telemetry/settings/documentedparam.cpp @@ -530,18 +530,19 @@ static std::vector> get_parameters_list(){ { auto fc_uart_conn_values=std::vector{ {"disable",""}, - {"serial0","/dev/serial0"}, - {"serial1","/dev/serial1"}, - {"ttyS1","/dev/ttyS1"}, - {"ttyS2","/dev/ttyS2"}, - {"ttyUSB0","/dev/ttyUSB0"}, - {"ttyACM0","/dev/ttyACM0"}, - {"ttyACM1","/dev/ttyACM1"}, - {"ttyS7","/dev/ttyS7"} + {"SERIAL_0","SERIAL_0"}, + {"/dev/serial0","/dev/serial0"}, + {"/dev/serial1","/dev/serial1"}, + {"/dev/ttyS1","/dev/ttyS1"}, + {"/dev/ttyS2","/dev/ttyS2"}, + {"/dev/ttyUSB0","/dev/ttyUSB0"}, + {"/dev/ttyACM0","/dev/ttyACM0"}, + {"/dev/ttyACM1","/dev/ttyACM1"}, + {"/dev/ttyS7","/dev/ttyS7"} }; append_string(ret,"FC_UART_CONN",ImprovedStringSetting{fc_uart_conn_values}, - "Telemetry FC<->Air unit. Make sure FC_UART_BAUD matches your FC. For rpi users, select serial0 for GPIO serial. " - "See the wiki for more info."); + "Telemetry FC<->Air unit. Make sure FC_UART_BAUD matches your FC. SERIAL_0 - default, primary telemetry serial of this platform (see wiki)." + "Otherwise, any linux serial fd filename (dev/testing)."); //same for ground uart out append_string(ret,"TRACKER_UART_OUT",ImprovedStringSetting{fc_uart_conn_values}, "Enable mavlink telemetry out via UART on the ground station for connecting a tracker or even an RC with mavlink lua script.");