Skip to content

Commit c3a7367

Browse files
committed
Add section about programming Teensy boards in CLI mode
1 parent f40f5de commit c3a7367

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

platforms/teensy_extra.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,19 @@ Example:
9292
build_flags = -D USB_RAWHID
9393
9494
See `Teensy USB Examples <https://www.pjrc.com/teensy/usb_debug_only.html>`_.
95+
96+
Uploading using CLI
97+
~~~~~~~~~~~~~~~~~~~
98+
99+
By default the Teensy platform uses the graphical version of the Teensy upload tools.
100+
For cases where the GUI tools cannot be used (e.g. headless OS) the native Teensy
101+
Loader tool is also available in a command line version which can be enabled directly
102+
in your project configuration, for example:
103+
104+
.. code-block:: ini
105+
106+
[env:teensy36]
107+
platform = teensy
108+
framework = arduino
109+
board = teensy36
110+
upload_protocol = teensy-cli

0 commit comments

Comments
 (0)