Modified default cmake port.
This commit is contained in:
parent
49bf5b4195
commit
cffe9b4c93
@ -15,9 +15,8 @@ option(BUILD_2560 "Build 2560 firmware?" ON)
|
||||
option(BUILD_1280 "Build 1280 firmware?" OFF)
|
||||
|
||||
if (NOT DEFINED PORT)
|
||||
message(WARNING "please define the upload port (for example: cmake
|
||||
-DPORT=/dev/ttyUSB0, assuming /dev/ttyUSB0")
|
||||
set(PORT "/dev/ttyUSB0")
|
||||
message(WARNING "please define the upload port (for example: cmake -DPORT=/dev/ttyACM0, assuming /dev/ttyACM0")
|
||||
set(PORT "/dev/ttyACM0")
|
||||
endif()
|
||||
|
||||
# macro path
|
||||
|
Loading…
Reference in New Issue
Block a user