qmk-keychron-q3-colemak-dh/keyboards/meira/keymaps/grahampheath
James Young fced377ac0
2020 May 30 Breaking Changes Update (#9215)
* Branch point for 2020 May 30 Breaking Change

* Migrate `ACTION_LAYER_TOGGLE` to `TG()` (#8954)

* Migrate `ACTION_MODS_ONESHOT` to `OSM()` (#8957)

* Migrate `ACTION_DEFAULT_LAYER_SET` to `DF()` (#8958)

* Migrate `ACTION_LAYER_MODS` to `LM()` (#8959)

* Migrate `ACTION_MODS_TAP_KEY` to `MT()` (#8968)

* Convert V-USB usbdrv to a submodule (#8321)

* Unify Tap Hold functions and documentation (#8348)

* Changing board names to prevent confusion (#8412)

* Move the Keyboardio Model01 to a keyboardio/ subdir (#8499)

* Move spaceman keyboards (#8830)

* Migrate miscellaneous `fn_actions` entries (#8977)

* Migrate `ACTION_MODS_KEY` to chained mod keycodes (#8979)

* Organizing my keyboards (plaid, tartan, ergoinu) (#8537)

* Refactor Lily58 to use split_common (#6260)

* Refactor zinc to use split_common (#7114)

* Add a message if bin/qmk doesn't work (#9000)

* Fix conflicting types for 'tfp_printf' (#8269)

* Fixed RGB_DISABLE_AFTER_TIMEOUT to be seconds based & small internals cleanup (#6480)

* Refactor and updates to TKC1800 code (#8472)

* Switch to qmk forks for everything (#9019)

* audio refactor: replace deprecated PLAY_NOTE_ARRAY (#8484)

* Audio enable corrections (2/3) (#8903)

* Split HHKB to ANSI and JP layouts and Add VIA support for each (#8582)

* Audio enable corrections (Part 4) (#8974)

* Fix typo from PR7114 (#9171)

* Augment future branch Changelogs (#8978)

* Revert "Branch point for 2020 May 30 Breaking Change"
2020-05-30 13:14:59 -07:00
..
config.h Graham's Keymaps. (#2422) 2018-02-23 13:15:34 -05:00
keymap.c 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
readme.md Graham's Keymaps. (#2422) 2018-02-23 13:15:34 -05:00
rules.mk Update Meira for revision 1.1 to enable backlighting by default (#2468) 2018-03-07 17:06:41 -05:00

Graham's Meira.

Don't expect this to work for you unaltered! For the record, these are my notes, not a guide for you :-)

Known issues:

Anything over 28k will begin to overwrite the boot loader, which is a pain!

Be sure to check file size with:

avr-size meira_promicro_grahampheath.hex

Sounds

I've added a 8ohm 0.5W speaker, its a bit large, but it fits in approximately the same space as the ProMicro. I soldered directly to PC6 and GND.

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.

Build

Built for the ProMicro with:

make meira/promicro:grahampheath

Build and upload with, which is cool because it will sense your port.

make meira/promicro:grahampheath:avrdude

Program a hex directly with:

avrdude -p atmega32u4 -P /dev/tty.usbmodem14111 -c avr109 -v -e -D -U flash:w:meira_promicro_grahampheath.hex

If you use an AVRISP you will be program a hex without a boot loader:

avrdude -p atmega32u4 -P /dev/tty.usbmodem14111 -c avrisp -v -e -U flash:w:meira_promicro_grahampheath.hex

Bricked

Did you overwrite your boot loader?

I did...

I used an Ardunio as an ISP, and was able to program various boot loaders. Ultimately it seemed like this was the right combo:

ProMicro pinout

Wiring: via u/dmjlambert

ProMicro boot loader hex is called Caterina-promicro16.hex and is stored on Sparkfun's GitHub

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