]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/meira/keymaps/grahampheath/readme.md
Keymap: Changed to use LAYOUT_kc() macro instead of LAYOUT() macro for easy maintenan...
[qmk_firmware.git] / keyboards / meira / keymaps / grahampheath / readme.md
1 # Graham's Meira.
2
3 Don't expect this to work for you unaltered! For the record, these are my notes, not a guide for you :-)
4
5 ## Known issues:
6 Anything over 28k will begin to overwrite the boot loader, which is a pain!
7
8 Be sure to check file size with:
9 ```
10 avr-size meira_promicro_grahampheath.hex
11 ```
12
13 ## Sounds
14 I've added a [8ohm 0.5W speaker](http://a.co/6MIKZSy), its a bit large, but it fits in approximately the same space as the ProMicro. I soldered directly to  PC6 and GND.
15
16 As the Meira code stood, adding sound increased the hex beyond what the boot loader could handle, so I had to dial way back on features that I wasnt using, like backlighting and RGB support. I also removed function keys, though I think you could restore some of these features, you certainly can't restore all of them and still fit with a boot loader.
17
18 ## Build
19
20 Built for the ProMicro with:
21 ```
22 make meira/promicro:grahampheath
23 ```
24
25 Build and upload with, which is cool because it will sense your port.
26 ```
27 make meira/promicro:grahampheath:avrdude
28 ```
29
30 Program a hex directly with:
31 ```
32 avrdude -p atmega32u4 -P /dev/tty.usbmodem14111 -c avr109 -v -e -D -U flash:w:meira_promicro_grahampheath.hex
33 ```
34
35 If you use an AVRISP you will be program a hex without a boot loader:
36 ```
37 avrdude -p atmega32u4 -P /dev/tty.usbmodem14111 -c avrisp -v -e -U flash:w:meira_promicro_grahampheath.hex
38 ```
39
40 ## Bricked
41 Did you overwrite your boot loader?
42
43 I did...
44
45 I used an [Ardunio as an ISP](https://learn.sparkfun.com/tutorials/installing-an-arduino-bootloader), and was able to program various boot loaders. Ultimately it seemed like this was the right combo:
46
47 [ProMicro pinout](https://cdn.sparkfun.com/assets/9/c/3/c/4/523a1765757b7f5c6e8b4567.png)
48
49 [Wiring](https://forum.arduino.cc/index.php?PHPSESSID=467mm69btif69hdj5e3gil5465&action=dlattach;topic=363341.0;attach=145820): [via u/dmjlambert](https://forum.arduino.cc/index.php?topic=363341.0)
50
51 ProMicro boot loader hex is called `Caterina-promicro16.hex` and is stored on [Sparkfun's GitHub](https://github.com/sparkfun/Arduino_Boards)
52
53 ```
54 avrdude -c avrisp -p m32u4 -P /dev/tty.usbmodem14141 -v -e -U flash:w:Caterina-promicro16.hex -U efuse:w:0xcb:m -U hfuse:w:0xd8:m -U lfuse:w:0xff:m
55 ```