Skip to content
Teensy Setting IDE Tools
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes Initial commit Dec 17, 2018 New MASTER for TeensyDuino 1.46 Beta 11 Apr 20, 2019
SublimeText.txt Added NEW sketch method Feb 9, 2019
TSet.cmd Number needed for choice Apr 20, 2019
TSet.cmd1 Add T4 support for TyComm Beta Feb 6, 2019
TSet.cmd2 Github is horrendus to use Dec 17, 2018
b8_boards.txt Min boards edits and readme edits Feb 14, 2019
new_ino.ino Added NEW sketch method Feb 9, 2019
open_new.cmd Bad order Feb 14, 2019


Teensy Setting IDE Tools

For Windows - a Batch file to create another local sketch folder Batch file that will run the Arduino IDE build system.

** TD 1.46 beta 11 boards.txt modified to function for Teensy Beta T4 #1 and #2.

  • change to this "4b1" and "4b2":: teensy4b[1,2].build.board=TEENSY4b[1,2] from teensy4b[1,2].build.board=TEENSY40
  • w/1.46b11 and 2nd T4 beta:: and

** add this menu for both and after ''::

  • MHz
  • MHz

This is an extention of work by Frank Boesing [] - that actually is the Batch file that runs the Arduino Builder outside the IDE. Install a supported Arduino IDE and TeensyDuino combination - and TyCommander by Koromix [ ].

The Tset.cmd file asks questions to specify the Teensy Board, MCU Speed, Compile Optimization level and USB type. Then it asks to approve or restart the selection if a wrong choice was made. It also allows creating a subfolder based on Teensy Model to hold the file so the same build batch file can be created for run any of the T_LC, T_3.2/3.2, T_3.5 or T_3.6.

TO USE :: Put the files from the repository in a known folder. Run Tset.cmd ( must include extention .cmd! ) from the Sketch folder where the INO is stored for IDE usage. It can run from within your IDE or from CMD line or Explorer window.

NOTE: You must edit Tset.cmd1 to have proper folder paths to your local system. And it you aren't an English keyboard user make an edit to Tset.cmd2 from the specified: keys=en-us.

Other note: Nothing stops making a bad combination - like asking for a 256 MHZ T_3.5 - so that would cause a build to fail.

Given that this is Teensy specific it started here with FrankB's posted batch file to run the Arduino IDE's builder in a shell:

The addition here is the batch file with prompts for the Teensy IDE settings being programmatically merged into the initial batch file that would require hand editing of the numerous options for Teensy Model, MCU Speed, Optimization level and one of the many USB options available. This was posted on the forum here in the context of use with SublimeText - more setails for setup below.

That links to the updated version allowing the batch file to be placed in the specific Teensy Model folder to allow sending the same sketch to be sent to other models and only set it up once per model, the Compile.cmd must be run from that directory.

Added 'open_new.cmd' [Must edit the specified sketchbook(sbook) and Tset home directory (srcdir)] option to create the IDE type Sketch in same name folder with a base 'new_ino.ino' sketch, prompts for selecting subfolder in sketchbook directory, and offers to run Tset to create Compile.cmd.

Works on Beta_9 T4 [with beta Tycomm] with custom edits to boards.txt

This works perfectly in SublimeText as a " Tools / Build System " to setup:: From Sublime Menu:: Tools/ Build System/ New build system … is how I started. That gives a way to create the file I have on github [ ]. You can then copy the contents into it and save. [the %appdata% path there would let you manually create and save the named file and I suspect it will get picked up]. Then Under: Tools/ Build System I see ‘Teensy’ [as I named it] that I selected as the build system and that triggers that with Ctrl+Shift+B to select the variation and Ctrl+B or F7 to run the last used variation. Other Notes:: refer to the post::

You can’t perform that action at this time.