mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
cmake nuttx upload: add verbatim parameter
to disable automatic evaluation of /dev/ttyS* expression in cygwin. On linux verbatim seems to be default anyways. At least it doesn't get evaluated on linux.
This commit is contained in:
@@ -183,6 +183,7 @@ if (TARGET parameters_xml AND TARGET airframes_xml)
|
|||||||
${PX4_SOURCE_DIR}/Tools/px_uploader.py --port ${serial_ports} ${fw_file}
|
${PX4_SOURCE_DIR}/Tools/px_uploader.py --port ${serial_ports} ${fw_file}
|
||||||
DEPENDS ${fw_file}
|
DEPENDS ${fw_file}
|
||||||
COMMENT "uploading px4"
|
COMMENT "uploading px4"
|
||||||
|
VERBATIM
|
||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user