diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-03-30 04:37:20 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-03-30 04:37:20 +0200 |
commit | 4a676746a6d8c9b47956f863ead335e995677c53 (patch) | |
tree | abec71f825ce412d13e057bc1bd89018cf3bb8f7 /BUILD_GUIDE.md | |
parent | 26513b497b8bae5160389c0beac2d45cbb29c50f (diff) | |
parent | 95fba250ef2029ccdedb34500c5d1e96f6d065cf (diff) | |
download | qmk_firmware-4a676746a6d8c9b47956f863ead335e995677c53.tar.gz qmk_firmware-4a676746a6d8c9b47956f863ead335e995677c53.tar.xz |
Merge pull request #224 from NoahAndrews/make-keymap-names-consistent
Make keymap names more consistent
Diffstat (limited to 'BUILD_GUIDE.md')
-rw-r--r-- | BUILD_GUIDE.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/BUILD_GUIDE.md b/BUILD_GUIDE.md index 22df53c30..f7a57d2fc 100644 --- a/BUILD_GUIDE.md +++ b/BUILD_GUIDE.md @@ -44,7 +44,10 @@ If you have any problems building the firmware, you can try using a tool called 4. Once you're in the correct keyboard-specific folder, run the `make` command. This should output a lot of information about the build process. ## Customizing, Building, and Deploying Your Firmware -1. Running the `make` command from your keyboard's folder will generate a .hex file based on the default keymap. All keymaps for a particular keyboard live in the `keymaps` folder in that keyboard's folder. To create your own keymap, copy `keymaps/default/keymap.c` to the `keymaps` folder, and rename it with your name, for example jack.c. Or, if you don't care about the ability to share your keymap with the community via GitHub, you can just modify the default keymap itself. Details on how to program keymap files can be found in other guides. + +Note: Some keyboard folders have non-standard organizations, and may not even support specifying alternate keymaps. Until these get reorganized, you will need to edit their default keymaps directly. + +1. Running the `make` command from your keyboard's folder will generate a .hex file based on the default keymap. All keymaps for a particular keyboard live in the `keymaps` folder in that keyboard's folder. To create your own keymap, copy `keymaps/default/keymap.c` to the `keymaps` folder, and rename it with your name, for example jack.c. Or, if you don't care about the ability to share your keymap with the community via GitHub, you can just modify the default keymap itself. Details on how to program keymap files can be found in other guides. 2. To build a keymap other than the default, type `KEYMAP=<name>` after `make`. So if I've named my keymap jack.c, the full command would be `make KEYMAP=jack`. 3. How you deploy the firmware will depend on whether you are using a PCB or a Teensy. In both cases, you'll need to put the keyboard in bootloader mode, either by pressing a button on the PCB/Teensy or pressing the key with the `RESET` keycode. Then, if you're using a PCB, just run `make KEYMAP=<name> dfu` to both build and deploy the firmware. If you're using a Teensy, you'll probably need to take the <keyboardname>.hex file that make produces in the keyboard's folder, and deploy it using the [Teensy Loader.](https://www.pjrc.com/teensy/loader.html) |