keychron_qmk_firmware/quantum/template/ps2avrgb
Drashna Jaelre 4ffcacd920 Add Bootmagic Lite to QMK (#4215)
* Preliminary additon of bootmagic lite functionality

* Cleanup code

* Clean up bootmagic code

* Add documentation and clean up code

* Make 'lite' an option for BOOTMAGIC_ENABLE

* Update Templates with note about Bootmagic Lite option

* Detect Debounce variable

* Make sure debounce is a non-zero number

* Capitalize Bootmagic

* Capitalize bootmagic

* Update wording

* Re-add EEPROM reset, by popular demand

And add eeprom-less version to drashna userspace for his sanity

* Fix spacing

* Set BOOTMAGIC_ENABLE to use full/lite/off

And default yes to "full" for compatibility

* Add Bootmagic lite info to templates

* Remove text from makefiles

* Cleanup of makefile

* mention yes in bootmagic docs

* Wordsmitthing the docs

* Fix white spaces

* Readd default bootmagic setting, because it's necessary
2018-10-27 14:53:50 -04:00
..
config.h Add Bootmagic Lite to QMK (#4215) 2018-10-27 14:53:50 -04:00
i2c.c Support both AVR and ps2avrGB targets for new_project script (#2811) 2018-05-10 00:36:40 -04:00
i2c.h Support both AVR and ps2avrGB targets for new_project script (#2811) 2018-05-10 00:36:40 -04:00
matrix.c Updated matrix.c for some PS2AVRGB boards and templates for new_project script (#2992) 2018-05-31 08:32:05 -07:00
readme.md Updated templates for use by new_project.sh (#3783) 2018-08-29 10:57:30 -07:00
rules.mk Support both AVR and ps2avrGB targets for new_project script (#2811) 2018-05-10 00:36:40 -04:00
template.c update template copyrights to 2018 (#2962) 2018-05-13 21:01:13 -07:00
template.h Updated templates for use by new_project.sh (#3783) 2018-08-29 10:57:30 -07:00
usbconfig.h Support both AVR and ps2avrGB targets for new_project script (#2811) 2018-05-10 00:36:40 -04:00

%KEYBOARD%

![%KEYBOARD%](imgur.com image replace me!)

A short description of the keyboard/project

Keyboard Maintainer: You
Hardware Supported: The PCBs, controllers supported
Hardware Availability: links to where you can find this hardware

Make example for this keyboard (after setting up your build environment):

make %KEYBOARD%:default

Flashing

ps2avr(GB) boards use an atmega32a microcontroller and a different bootloader. It is not flashable using the regular QMK methods.

Windows:

  1. Download HIDBootFlash.
  2. Place your keyboard into reset.
  3. Press the Find Device button and ensure that your keyboard is found.
  4. Press the Open .hex File button and locate the .hex file you created.
  5. Press the Flash Device button and wait for the process to complete.

macOS:

  1. Install homebrew by typing the following:

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  2. Install crosspack-avr.

    brew cask install crosspack-avr
    
  3. Install the following packages:

    brew install python
    brew install pyusb
    brew install --HEAD`https://raw.githubusercontent.com/robertgzr/homebrew-tap/master/bootloadhid.rb
    
    
  4. Place your keyboard into reset.

  5. Flash the board by typing bootloadHID -r followed by the path to your .hex file.

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.