This image provides an alternative to compiling and flashing with the Teensyduino IDE.
Running make
will build the project and flash it onto a Teensy 3.1.
This uses the --privledged
Docker flag and mounts /dev/bus/usb
on the Docker host. If the Docker host is a hypervisor additional configuration may be required
to make the Teensy available within the VM.
- Download the VirtualBox Extension Pack.
- Add a USB filter for the Teensy under Ports in settings. The VM must be off to make these changes.
- Release as builder image which can be more easily shared such as golang-build.
- Support easier switching between target processors
- More generic Makefile (compile from folder of C files)