-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Build on VirtualBox
tmk edited this page Aug 9, 2016
·
11 revisions
You can buld tmk and program/flash microcontroller with ubutu environment on VirtualBox.
Install VirtualBox.
Import VM image from menu File>Import Appliance...
- TBD: image download link
Login in system with username ubuntu
and password ubuntu
.
$ cd tmk_keyboard
$ git pull
$ cd <project directory>
$ make
Plugin your keyboard or converter and turn it into bootloader mode(with pushing program button in most cases).
$ make dfu
or $ dfu-programmer.exe atmega32u4 erase --force $ dfu-programmer.exe atmega32u4 flash your_firmware.hex $ dfu-programmer.exe atmega32u4 reset
where atmega32u4
part should be atmega32u2
or something depending on your controller.
You can configure VM image with Vagrantfile to improve environment yourself. Not needed mostly.