Compare commits

...

2 Commits

Author SHA1 Message Date
c6b130cb67 Fix README.md 2026-03-12 10:13:50 +01:00
c891a22041 Changed build.sh to generate compile_commands.json 2026-03-12 10:13:08 +01:00
3 changed files with 12 additions and 2 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.qmk_home/
compile_commands.json
keyboardeeroy_jenkins_default.uf2

View File

@@ -16,5 +16,5 @@ This repository contains the firmware for the `keyboardeeroy_jenkins` keyboard.
``` ```
3. Flash both keyboard halves 3. Flash both keyboard halves
```bash ```bash
$ picotool load qmk_firmware/keyboardeeroy_jenkins_default.uf2 # Both halves $ picotool load keyboardeeroy_jenkins_default.uf2 # Both halves
``` ```

View File

@@ -6,4 +6,11 @@ KB_NAME="keyboardeeroy_jenkins"
ln -sfn "$SCRIPT_DIR/keyboards/$KB_NAME" \ ln -sfn "$SCRIPT_DIR/keyboards/$KB_NAME" \
"$SCRIPT_DIR/qmk_firmware/keyboards/$KB_NAME" "$SCRIPT_DIR/qmk_firmware/keyboards/$KB_NAME"
make -C "$SCRIPT_DIR/qmk_firmware" "$KB_NAME:default" # Isolate qmk config to this project
export HOME="$SCRIPT_DIR/.qmk_home"
mkdir -p "$HOME/.config/qmk"
qmk config user.qmk_home="$SCRIPT_DIR/qmk_firmware"
qmk config user.overlay_dir="$SCRIPT_DIR"
# Build and generate compile_commands.json
qmk compile --compiledb -kb "$KB_NAME" -km default