-
Notifications
You must be signed in to change notification settings - Fork 0
Software
clsergent edited this page Apr 22, 2019
·
3 revisions
- AVR-GCC to build the firmware.
- AVRDUDE to upload the firmware to the chip using the in-system programming (ISP) technique.
- A programmer to link the computer to the chip, like USBasp which is inexpensive, open source, and supported by AVRDUDE. It's the one used by default in the Makefile.
Edit the Makefile to fit your configuration :
- Jump to
# binariesand modify the following constants :-
AVRDUDE: set it to youravrdudepath -
OBJ2HEX: set it to youravr-objcopypath (usually shipped with AVRDUDE)
-
- Jump to
# flagsand checkAFLAGS(AVRDUDE flags) : after the-cdirective, replaceusbaspby the name of the programmer you are using (see the prerequisites).
By default, the firmware mimics a French AZERTY Macintosh keyboard, using the keyboard-azerty-mac.h header. Alternatively, you can set the key to mimics an English QWERTY keyboard using keyboard-qwerty-win.h.
Edit main.c and replace #include "./keyboard-azerty-mac.h"by #include "keyboard-qwerty-win.h".
While in the firmware folder, call make build.
While in the firmware folder, call make flash.
Caution : improper fuses settings can brick your chip.
While in the firmware folder, call make fuse to apply the right fuses settings for this project.