mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08:00
fmu v4: add option to run DShot telemetry on UART usually used for the ESP WIFI module
This commit is contained in:
committed by
Lorenz Meier
parent
3cc8e7a210
commit
653b7c0007
@@ -130,6 +130,14 @@ serial_ports = {
|
||||
"default_baudrate": 0,
|
||||
},
|
||||
|
||||
# WIFI Port (PixRacer)
|
||||
"WIFI": {
|
||||
"label": "Wifi Port",
|
||||
"index": 301,
|
||||
"default_baudrate": 1, # set default to an unusable value to detect that this serial port has not been configured
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
|
||||
parser = argparse.ArgumentParser(description='Generate Serial params & startup script')
|
||||
|
||||
@@ -13,6 +13,8 @@ px4_add_board(
|
||||
GPS1:/dev/ttyS3
|
||||
TEL1:/dev/ttyS1
|
||||
TEL2:/dev/ttyS2
|
||||
WIFI:/dev/ttyS0
|
||||
|
||||
DRIVERS
|
||||
adc/board_adc
|
||||
adc/ads1115
|
||||
|
||||
Reference in New Issue
Block a user