diff options
author | Albert Y <[email protected]> | 2022-01-13 10:29:13 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-13 02:29:13 +0000 |
commit | 362a65510a0fe80a6fa56400b4b8089accde21c7 (patch) | |
tree | e81b251b6d37ae89c32d9f9badd425f1b8a27d45 /docs/newbs_building_firmware.md | |
parent | 06b329cdb98fc3a57d41e5815ab0d1c7d9f74299 (diff) | |
download | qmk_firmware-362a65510a0fe80a6fa56400b4b8089accde21c7.tar.gz qmk_firmware-362a65510a0fe80a6fa56400b4b8089accde21c7.zip |
[Docs] Move QMK newbs build environment guide to next section (#15386)
Co-authored-by: Dasky <[email protected]>
Diffstat (limited to 'docs/newbs_building_firmware.md')
-rw-r--r-- | docs/newbs_building_firmware.md | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/docs/newbs_building_firmware.md b/docs/newbs_building_firmware.md index ed94a1460d..ed51a9aea5 100644 --- a/docs/newbs_building_firmware.md +++ b/docs/newbs_building_firmware.md @@ -2,6 +2,20 @@ Now that you have setup your build environment you are ready to start building custom firmware. For this section of the guide we will bounce between 3 programs- your file manager, your text editor, and your terminal window. Keep all 3 open until you are done and happy with your keyboard firmware. +## Configure Your Build Environment Defaults (Optional) + +You can configure your build environment to set the defaults and make working with QMK less tedious. Let's do that now! + +Most people new to QMK only have 1 keyboard. You can set this keyboard as your default with the `qmk config` command. For example, to set your default keyboard to `clueboard/66/rev4`: + + qmk config user.keyboard=clueboard/66/rev4 + +?> The keyboard option is the path relative to the keyboard directory, the above example would be found in `qmk_firmware/keyboards/clueboard/66/rev4`. If you're unsure you can view a full list of supported keyboards with `qmk list-keyboards`. + +You can also set your default keymap name. Most people use their GitHub username like the keymap name from the previous steps: + + qmk config user.keymap=<github_username> + ## Create a New Keymap To create your own keymap you'll want to create a copy of the `default` keymap. If you configured your build environment in the last step you can do that easily with the QMK CLI: @@ -45,7 +59,7 @@ When your changes to the keymap are complete you will need to build the firmware qmk compile -If you did not configure your environment, or you have multiple keyboards, you can specify a keyboard and/or keymap: +If you did not configure defaults for your environment, or you have multiple keyboards, you can specify a keyboard and/or keymap: qmk compile -kb <keyboard> -km <keymap> |