sun_usb: Add Makefile for ATmega32U4
This commit is contained in:
parent
05c2df1237
commit
e63aff8715
2 changed files with 13 additions and 4 deletions
5
converter/sun_usb/Makefile.atmega32u4
Normal file
5
converter/sun_usb/Makefile.atmega32u4
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
TARGET = sun_usb_atmega32u4
|
||||
MCU = atmega32u4
|
||||
|
||||
include Makefile
|
||||
|
||||
|
|
@ -84,12 +84,16 @@ It can be still built with 'make HARDWARE_SERIAL=y' to enable hardware serial if
|
|||
|
||||
Build Firmware
|
||||
--------------
|
||||
Just use 'make'
|
||||
For TMK converter with ATmega32U2 just run `make` to build firmware hex file.
|
||||
For other DIY converters with ATmega32U4 like Teensy2 or Pro Micro use `make -f Makefile.atmega32u4` instead of `make`.
|
||||
|
||||
$ cd sun_usb
|
||||
$ make
|
||||
|
||||
Then, load the binary to MCU with your favorite programmer.
|
||||
Then, load the hex file into MCU with your favorite programmer. If you have `dfu-programmer` installed you can use `make dfu`.
|
||||
|
||||
$ make dfu
|
||||
|
||||
|
||||
|
||||
Keyboard Control
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue