Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document new serial #693

Merged
merged 1 commit into from
Apr 26, 2024
Merged
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
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
Loading