ninja2
Well-known member
Good day,
Uploading to one of my Teensy 4.1 fails if a Micromod Teensy is also connected. In my 'platformio.ini' (below) I've specified teensy-cli and the specific Serial number using upload_flags but it still doesn't work, forcing me to disconnect the Micromod before uploading to the T4.1.
Is there a way to around this?
TIA
Uploading to one of my Teensy 4.1 fails if a Micromod Teensy is also connected. In my 'platformio.ini' (below) I've specified teensy-cli and the specific Serial number using upload_flags but it still doesn't work, forcing me to disconnect the Micromod before uploading to the T4.1.
Is there a way to around this?
TIA
Code:
[env:teensy41_09]
platform = teensy
board = teensy41
framework = arduino
upload_protocol = teensy-cli
upload_port = /dev/teensy41-exp-board-2
monitor_port = /dev/teensy41-exp-board-2
lib_deps =
https://github.com/janelia-arduino/Streaming.git
https://github.com/milesburton/Arduino-Temperature-Control-Library
build_flags =
-I include
-I../shared_include
-D VERBOSE=1
-D T41EXP-2
# T4.1-1 by its serial no
#upload_flags =
# -s
# 15807140
# T4.1-2 by its serial no
upload_flags =
-s
14582390
# T4.1-3 by its serial no
#upload_flags =
# -s
# 14582370