Tensyduino compatibility with Arduino Command Line?

Status
Not open for further replies.

jwatte

Well-known member
I'm running Arduino 1.8.9 on Windows, and the latest Teensyduino as of yesterday.
In the IDE, I can select and program a Teensy just fine.
However, using the Arduino Command Line interface, I can't see or select Teensy board kinds.
(This results in Visual Studio Code for Arduino also not seeing the Teensy boards.)
Other add-in board packages (like Robotis OpenCM) do show up, so there has to be something special about Teensyduino.

Has someone made this work? Is there a registry/text config file setting somewhere that can be tweaked to "fool" the ACLI into thinking Teensyduino is a "real" add-in board package?
 
Hi @jwatte,

I know at one point I was able to get Arduino command lines to sort of work with Teensy, but it has been awhile. I don't remember if I was able to specify the type/variant like combination to get it to work or if I had to run it first in the IDE to choose the board. I probably need to review the thread I did back then: https://forum.pjrc.com/threads/4279...mand-lines-for-teensy-using-PuTTy-or-the-like
I remember having issues with the upload using teensy, but edited the boards/platform.txt file(s) to use the CLI version instead.

Also I know that @Frank B and @defragster did some stuff to setup configurations for a specific Teensy and then integrate it into sublimetext: I know this has been talked about in the thread: https://forum.pjrc.com/threads/3839...DE-replacement?p=123357&viewfull=1#post123357 and a few others.

As for Visual Studio, I know with VisualMicro there are instructions on how to set this up: https://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx

Hope that helps
Kurt
 
Hi @jwatte,

FrankB did something cool for Windows that works with TyCommander to upload. I made it clean and easy to do the board settings [runs a batch file that asks 4 questions] into a version of FrankB's Compile.cmd that incorporates board selection and settings - then TyComm is called and prompts for the actual board from those online.

Give this a look and see if it can work for you :: github.com/Defragster/Tset
 
Thanks KurtE and defragster!

I ended up looking around some more (first search didn't find much, hence why I asked,) and the state seems to be:

1. Use a third party tool like defragster or PlatformIO
2. Paul talked to Arduino people last year about the needs Teensyduino have to actually be a real "board plugin," but that hasn't yet solved itself.

For the "I want to drink free beer right now" crowd, PlatformIO seems like the most straightforward option, whereas defragster seems like the "smallest impact" solution.
 
Status
Not open for further replies.
Back
Top