Teensy linux command line code upload

Status
Not open for further replies.

JasonH

Member
We will have about ~150 teensies to manage. We will compile code, then distribute the code to the computers that host the teensy.
How can we load code on the teensy from the command line. The UI is not availble.

I saw arduino-cli, but I don't that it works with a teensy?
 
The cool thing with using Linux is that you can use the "-s" option, so you don't even need to press the program button.

Depending on which Teensy it is; I've yet to get the "-s" option to work with a Teensy 4.1. The usage text does say it's just for the 3.x series, but I was hoping!
 
TyCommander also has a command line version that may offer different or more usable command line parameters.
 
If I understand this correctly
There are many computers each having a connected teensy and they are headless linux-based?
 
If I understand this correctly
There are many computers each having a connected teensy and they are headless linux-based?

Yes, we need to update the code on the Teensy via ansible. (https://www.ansible.com/)

Quick supplemental question:
The export sequence export two ex files,
project.ino.with_bootloader.yun.hex
project.ino.yun.hex

Which one do I want?
 
Last edited:
Yes, we need to update the code on the Teensy via ansible. (https://www.ansible.com/)

Quick supplemental question:
The export sequence export two ex files,
project.ino.with_bootloader.yun.hex
project.ino.yun.hex

Which one do I want?

Neither, since it's not built for Teensy. Try selecting the Teensy board, you'll only get one hex file.
 
Status
Not open for further replies.
Back
Top