mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-09-22 19:57:42 -04:00
Update readme
This commit is contained in:
parent
ad0253071f
commit
558034e5c7
3 changed files with 10 additions and 2 deletions
|
@ -13,6 +13,7 @@ If the keyboard has not been merged yet to the main branch of QMK you may need t
|
||||||
1. Clone your fork to your local machine
|
1. Clone your fork to your local machine
|
||||||
1. Enable userspace in QMK config using `qmk config user.overlay_dir="$(realpath qmk_userspace)"`
|
1. Enable userspace in QMK config using `qmk config user.overlay_dir="$(realpath qmk_userspace)"`
|
||||||
1. Add a new keymap for your board by copy, pasting and renaming the `default_hlc` keymap within the `keyboards/splitkb/halcyon/$KB$/keymaps` folder.
|
1. Add a new keymap for your board by copy, pasting and renaming the `default_hlc` keymap within the `keyboards/splitkb/halcyon/$KB$/keymaps` folder.
|
||||||
|
1. You may want to replace the `qmk.json` with the empty `qmk_empty.json` if you want to start from scratch as it will otherwise compile all default options.
|
||||||
1. Add your keymap(s) to the build by running `qmk userspace-add -kb <your_keyboard> -km <your_keymap> -e <halcyon_module>=1 -e TARGET=<filename>`.
|
1. Add your keymap(s) to the build by running `qmk userspace-add -kb <your_keyboard> -km <your_keymap> -e <halcyon_module>=1 -e TARGET=<filename>`.
|
||||||
* This will automatically update your `qmk.json` file
|
* This will automatically update your `qmk.json` file
|
||||||
* Corresponding `qmk userspace-remove -kb <your_keyboard> -km <your_keymap> -e <halcyon_module>=1 -e TARGET=<filename>`.
|
* Corresponding `qmk userspace-remove -kb <your_keyboard> -km <your_keymap> -e <halcyon_module>=1 -e TARGET=<filename>`.
|
||||||
|
@ -53,12 +54,13 @@ Alternatively, if you configured your build targets above, you can use `qmk user
|
||||||
|
|
||||||
If you wish to point GitHub actions to a different repository, a different branch, or even a different keymap name, you can modify `.github/workflows/build_binaries.yml` to suit your needs.
|
If you wish to point GitHub actions to a different repository, a different branch, or even a different keymap name, you can modify `.github/workflows/build_binaries.yml` to suit your needs.
|
||||||
|
|
||||||
To override the `build` job, you can change the following parameters to use a different QMK repository or branch, this can be useful if you want to use a different QMK or vial branch for example:
|
To override the `build` job, you can change the following parameters to use a different QMK repository or branch, this can be useful if you want to use a the main QMK repository or a different vial branch. For example:
|
||||||
```
|
```
|
||||||
with:
|
with:
|
||||||
qmk_repo: qmk/qmk_firmware
|
qmk_repo: qmk/qmk_firmware
|
||||||
qmk_ref: master
|
qmk_ref: master
|
||||||
```
|
```
|
||||||
|
Our halcyon module code should work fine with the main QMK repository but it may break if there are any breaking changes from QMK in the future. We will try our best to keep this repository up-to-date.
|
||||||
|
|
||||||
If you wish to manually manage `qmk_firmware` using git within the userspace repository, you can add `qmk_firmware` as a submodule in the userspace directory instead. GitHub Actions will automatically use the submodule at the pinned revision if it exists, otherwise it will use the default latest revision of `qmk_firmware` from the main repository. This will not work when using vial.
|
If you wish to manually manage `qmk_firmware` using git within the userspace repository, you can add `qmk_firmware` as a submodule in the userspace directory instead. GitHub Actions will automatically use the submodule at the pinned revision if it exists, otherwise it will use the default latest revision of `qmk_firmware` from the main repository. This will not work when using vial.
|
||||||
|
|
||||||
|
|
4
qmk_empty.json
Normal file
4
qmk_empty.json
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"userspace_version": "1.1",
|
||||||
|
"build_targets": []
|
||||||
|
}
|
|
@ -1,5 +1,7 @@
|
||||||
CURRENT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
CURRENT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
|
ERR_COLOR = $(strip $(call make_std_color,1))
|
||||||
|
|
||||||
SRC += halcyon.c
|
SRC += halcyon.c
|
||||||
|
|
||||||
LTO_ENABLE ?= yes
|
LTO_ENABLE ?= yes
|
||||||
|
@ -30,5 +32,5 @@ endif
|
||||||
HLC_OPTIONS := $(HLC_NONE) $(HLC_CIRQUE_TRACKPAD) $(HLC_ENCODER) $(HLC_TFT_DISPLAY)
|
HLC_OPTIONS := $(HLC_NONE) $(HLC_CIRQUE_TRACKPAD) $(HLC_ENCODER) $(HLC_TFT_DISPLAY)
|
||||||
|
|
||||||
ifeq ($(filter 1, $(HLC_OPTIONS)), )
|
ifeq ($(filter 1, $(HLC_OPTIONS)), )
|
||||||
$(error Wrong or no module specified. Please specify one of the following: HLC_NONE, HLC_CIRQUE_TRACKPAD, HLC_ENCODER or HLC_TFT_DISPLAY.)
|
$(error Halcyon_modules used but wrong or no module specified. Please specify one by adding `-e <module_name>=1` to your compile command where <module_name> can be: HLC_NONE, HLC_CIRQUE_TRACKPAD, HLC_ENCODER or HLC_TFT_DISPLAY)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue