update for newer qmk firmware setup
This commit is contained in:
parent
cc0357a07a
commit
ade535738d
3 changed files with 32 additions and 5 deletions
25
planck/lytedev/Makefile
Normal file
25
planck/lytedev/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
|
||||
# Build Options
|
||||
# change to "no" to disable the options, or define them in the Makefile in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = yes # Audio output on port C6
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
|
@ -3,14 +3,16 @@ This contains my `qmk_firmware`-compatible Planck keymap.
|
|||
|
||||
## Flashing
|
||||
|
||||
* Clone and setup the repository at https://github.com/jackhumbert/qmk_firmware.git - pay special attention to the dependencies
|
||||
* Copy the `lytedev.c` file in this directory of this repo to `qmk_firmware/keyboard/planck/lytedev.c`
|
||||
* From `qmk_firmware/keyboard/planck`, run `make KEYMAP=lytedev` to generate your firmware
|
||||
* Clone and setup the repository at https://github.com/jackhumbert/qmk_firmware.git - pay special attention to the dependencies (for arch users, `pacman -S avr-libc avr-gcc` and `dfu-programmer` in the AUR)
|
||||
* Copy the `lytedev` folder in this directory of this repo to `qmk_firmware/keyboard/planck/keymaps/lytedev/`
|
||||
* From `qmk_firmware/keyboard/planck/keymaps/lytedev/`, run `make` to generate your firmware
|
||||
* Press the flash button on the Planck keyboard
|
||||
* From `qmk_firmware/keyboard/planck` (same as last terminal command directory), run `make dfu` as root (`sudo make dfu`)
|
||||
* From `qmk_firmware/keyboard/planck/keymaps/lytedev/` (same as last terminal command directory), run `make dfu` as root (`sudo make dfu`)
|
||||
|
||||
**Tip**: If you don't have an extra keyboard to send the `make dfu` command, just prepend `sleep 10 &&` to it to give yourself 10 seconds to hit the flash button.
|
||||
|
||||
That should be it! Your Planck keyboard should now be flashed with this layout.
|
||||
|
||||
## Modifying
|
||||
Just modify `lytedev.c` and repeat the steps above for flashing! Easy.
|
||||
Just modify `lytedev/keymap.c` and repeat the steps above for flashing! Easy.
|
||||
|
||||
|
|
Loading…
Reference in a new issue