Skip to content

Tool to use a teensy boards.txt to generate a small makefile to be included in a main makefile

License

Notifications You must be signed in to change notification settings

luni64/Board2Make

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please note: Board2Make is no longer maintained. A follow project can be found here: (https://github.com/luni64/VisualTeensy)

Board2Make

If you want to use a modern Windows IDE to write sketches for the Teensy ARM boards (T3.0 up to T3.6) one possibiltiy is to use so called Makefile-Projects in the free community edition of Microsoft Visual Studio. It is not very difficult to write a generic makefile which can be used to build your sketches. As long as you don't need to change settings for e.g., USB-Type, CPU-Speed, Optimizer Settings or the type of the board you don't need to touch the makefile. If you need to change those settings you usually need to adjust the makefile wich is somehow inconvenient.

Board2Make is a small windows utility which helps updating your makefile with those changable settings. It parses the information it finds in a standard Teensyduino boards.txt file and uses it to display a simular menu as you get in the "Tools" menu of the Arduio IDE. You can choose all the settings you need and Board2Make will generate a small makefile (example) which can be included from your main makefile. (The generated makefile does not assume any build environment and can be used for any makefile based compilation setup)

GUI

Usage

  • Start Board2Make
  • Select a boards.txt file (you usually find it here Arduino\hardware\teensy\avr)
  • Chose the settings you need
  • Click on Save Makefile to export the makefile

Build System and Binaries

Board2Make was built with the community edition of VisualStudio 2015. A precompiled .exe can be found here (no installation required)

Example Teensy Makefile Project

The VS solution also includes a simple example makefile project for compiling a blink sketch.

Quick instructions (detailed instructions tbd)

About

Tool to use a teensy boards.txt to generate a small makefile to be included in a main makefile

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published