Skip to content

Commit

Permalink
Merge pull request #693 from OpenHD/consti-dev
Browse files Browse the repository at this point in the history
document new serial
  • Loading branch information
Consti10 authored Apr 26, 2024
2 parents 5669073 + 599c41d commit 5867e80
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions app/telemetry/settings/documentedparam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,18 +530,19 @@ static std::vector<std::shared_ptr<XParam>> get_parameters_list(){
{
auto fc_uart_conn_values=std::vector<ImprovedStringSetting::Item>{
{"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.");
Expand Down

0 comments on commit 5867e80

Please sign in to comment.