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.
Name |
Description |
---|---|
Arduino Wiring-based Framework |
|
mbed Framework |
|
Teensy Loader |
|
avr-gcc |
|
gcc-arm-embedded |
Warning
Linux Users:
Install “udev” rules file 99-platformio-udev.rules (an instruction is located inside a file).
Raspberry Pi users, please read this article Enable serial port on Raspberry Pi.
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.
Name |
Description |
---|---|
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. |
|
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. |
Note
You can list pre-configured boards by platformio boards command or PlatformIO Boards Explorer
For more detailed board
information please scroll tables below by
horizontal.
ID |
Name |
Platform |
Debug |
Microcontroller |
Frequency |
Flash |
RAM |
---|---|---|---|---|---|---|---|
|
ATMEGA32U4 |
16 MHz |
32 Kb |
2.5 Kb |
|||
|
AT90USB1286 |
16 MHz |
128 Kb |
8 Kb |
|||
|
MK20DX128 |
48 MHz |
128 Kb |
16 Kb |
|||
|
MK20DX256 |
72 MHz |
256 Kb |
64 Kb |
|||
|
MK64FX512 |
120 MHz |
512 Kb |
192 Kb |
|||
|
MK66FX1M0 |
180 MHz |
1024 Kb |
256 Kb |
|||
|
MKL26Z64 |
48 MHz |
64 Kb |
8 Kb |
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.
All project examples are located in PlatformIO repository Examples for Teensy platform.