Hello all. I'm working on a project where I was playing around with teensy_post_compile.exe (1.58.0) from cmd. And I noticed that it was not uploading to a specific board when I had two plugged in. Unfortunately for the project I'm working on, I am unable to simply unplug one and upload the hex file. Oddly enough, I tried the same thing in Arudnio IDE 2.3.1, I had the same behavior. I found that the command Arduino runs doesn't include the port.
Does anyone know if this is a bug in the current teensy_post_compile.exe or how one might specify the port in cmd? Thank you!
Code:
"C:\\Users\\[myUser]\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/teensy_post_compile" -file=Blink.ino "-path=C:\\Users\\[myUser]\\AppData\\Local\\Temp\\arduino\\sketches\\081319A2CEB3D24D283D1A078459B867" "-tools=C:\\Users\\[myUser]\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/" -board=TEENSY40
Does anyone know if this is a bug in the current teensy_post_compile.exe or how one might specify the port in cmd? Thank you!