mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 08:38:53 +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,
|
"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')
|
parser = argparse.ArgumentParser(description='Generate Serial params & startup script')
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ px4_add_board(
|
|||||||
GPS1:/dev/ttyS3
|
GPS1:/dev/ttyS3
|
||||||
TEL1:/dev/ttyS1
|
TEL1:/dev/ttyS1
|
||||||
TEL2:/dev/ttyS2
|
TEL2:/dev/ttyS2
|
||||||
|
WIFI:/dev/ttyS0
|
||||||
|
|
||||||
DRIVERS
|
DRIVERS
|
||||||
adc/board_adc
|
adc/board_adc
|
||||||
adc/ads1115
|
adc/ads1115
|
||||||
|
|||||||
Reference in New Issue
Block a user