Equipped with a 32 bit ARM Cortex-M4 microcontroller, the Teensy board is well suited for embedded applications related to the Internet of Things. It can be programmed by USB with Linux, Windows and Mac OSX. As it is tiny and has many peripherals included (GPIO, UART, I²C, SPI…), this board has been chosen for IoT applications.
Programming with Arduino IDE
Since version 3.0, Teensy can be programmed with the Arduino IDE. You will need the Teensyduino software add-on. Follow this tutorial in order to get ready to program.
Programming with an independent text editor and a Makefile
Alternatively, if for some reasons you don’t want to use the Arduino IDE, there is still the possibility to write programs with your favourite editor and compile then upload the code to the board thanks to a Makefile.
There are several projects that provide a Makefile and the required files. Teensy-template is one of them. This one is recommended since it doesn’t rely on any Arduino installation (you can use this independently) and its README file explains clearly how to proceed. Don’t forget to put the correct version of the Teensy board (3.0) in the Makefile to avoid errors.