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.
[env:teensy40] platform = teensy board = teensy40
You can override default Teensy 4.0 settings per build environment using
board_*** option, where
*** is a JSON object path from
board manifest teensy40.json. For example,
[env:teensy40] platform = teensy board = teensy40 ; change microcontroller board_build.mcu = imxrt1062 ; change MCU frequency board_build.f_cpu = 600000000L
Teensy 4.0 supports the next uploading protocols:
Default protocol is
You can change upload protocol using upload_protocol option:
[env:teensy40] platform = teensy board = teensy40 upload_protocol = teensy-gui
PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.
You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions and configuration information.
Teensy 4.0 does not have on-board debug probe and IS NOT READY for debugging. You will need to use/buy one of external probe listed below.