From 01afeed967a35a0c4c5e46a8fe7b35591f86b88d Mon Sep 17 00:00:00 2001 From: MaEtUgR Date: Wed, 6 Jun 2018 11:43:23 +0200 Subject: [PATCH] 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. --- platforms/nuttx/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/nuttx/CMakeLists.txt b/platforms/nuttx/CMakeLists.txt index 737b569c3b..5498be0634 100644 --- a/platforms/nuttx/CMakeLists.txt +++ b/platforms/nuttx/CMakeLists.txt @@ -183,6 +183,7 @@ if (TARGET parameters_xml AND TARGET airframes_xml) ${PX4_SOURCE_DIR}/Tools/px_uploader.py --port ${serial_ports} ${fw_file} DEPENDS ${fw_file} COMMENT "uploading px4" + VERBATIM USES_TERMINAL ) endif()