Teensy

platform = teensy

Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects. All programming is done via the USB port. No special programmer is needed, only a standard USB cable and a PC or Macintosh with a USB port.

For more detailed information please visit vendor site.

Packages

Name

Description

framework-arduinoteensy

Arduino Wiring-based Framework

framework-mbed

mbed Framework

tool-teensy

Teensy Loader

toolchain-atmelavr

avr-gcc

toolchain-gccarmnoneeabi

gcc-arm-embedded

Warning

Linux Users:

Windows Users:

Teensy programming uses only Windows built-in HID drivers. When Teensy is programmed to act as a USB Serial device, Windows XP, Vista, 7 and 8 require this serial driver is needed to access the COM port your program uses. No special driver installation is necessary on Windows 10.

Frameworks

Name

Description

Arduino

Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.

mbed

The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.

Boards

Note

Teensy

ID

Name

Platform

Debug

Microcontroller

Frequency

Flash

RAM

teensy20

Teensy 2.0

Teensy

ATMEGA32U4

16 MHz

32 Kb

2.5 Kb

teensy20pp

Teensy++ 2.0

Teensy

AT90USB1286

16 MHz

128 Kb

8 Kb

teensy30

Teensy 3.0

Teensy

MK20DX128

48 MHz

128 Kb

16 Kb

teensy31

Teensy 3.1 / 3.2

Teensy

MK20DX256

72 MHz

256 Kb

64 Kb

teensy35

Teensy 3.5

Teensy

MK64FX512

120 MHz

512 Kb

192 Kb

teensy36

Teensy 3.6

Teensy

MK66FX1M0

180 MHz

1024 Kb

256 Kb

teensylc

Teensy LC

Teensy

MKL26Z64

48 MHz

64 Kb

8 Kb

USB Features

If you want to use Teensy USB Features, you need to add special acros/define using build_flags:

  • -D USB_AUDIO

  • -D USB_HID

  • -D USB_SERIAL_HID

  • -D USB_DISK

  • -D USB_DISK_SDFLASH

  • -D USB_MIDI

  • -D USB_RAWHID

  • -D USB_FLIGHTSIM

  • -D USB_DISABLED

Example:

[env:teensy_hid_device]
platform = teensy
framework = arduino
board = teensy20
build_flags = -D USB_RAWHID

See Teensy USB Examples.

Examples

All project examples are located in PlatformIO repository Examples for Teensy platform.