Skip to content

Commit cfd41b0

Browse files
committed
Trying to use zmk-bad-wings-2, but the bw2 board is not recognized.
1 parent b7b269d commit cfd41b0

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
.PHONY: clean all
22
.PHONY: apiaster apiaster_left apiaster_right
3+
.PHONY: badwings bw2
34
.PHONY: bykeeb bykeeb_left bykeeb_right
45
.PHONY: corne corne_left corne_right
56
.PHONY: ferris cradio_left cradio_right
67
.PHONY: lily58 lily58_left lily58_right
78
.PHONY: tern hummingbird
89
.PHONY: weejock
910
.PHONY: zaphod zaphod_lite
10-
.PHONY: deploy_apiaster deploy_bykeeb deploy_corne deploy_ferris deploy_lily58 deploy_tern deploy_weejock deploy_zaphod
11+
.PHONY: deploy_corne deploy_ferris deploy_lily58 deploy_tern deploy_weejock deploy_zaphod
1112
.PHONY: transfer
1213

1314
APP_DIR := $(realpath ../zmk/app)
@@ -23,6 +24,7 @@ APIASTER_CONFIG_DIR := $(realpath ../zmk-apiaster-module)
2324
BYKEEB_CONFIG_DIR := $(realpath ../zmk-fingerpunch-keyboards)
2425
VIK_MODULE_DIR := $(realpath ../zmk-fingerpunch-vik)
2526
FINGERPUNCH_DIR := $(realpath ../zmk-fingerpunch-controllers)
27+
BADWINGS_CONFIG_DIR := $(realpath ../zmk-bad-wings-2)
2628

2729
EXTRA_MODULES := ${ZMK_HELPERS_DIR}
2830

@@ -36,6 +38,7 @@ ZERO_PATH := /media/${USER}/RPI-RP2
3638

3739
WIN_DESKTOP := /mnt/c/Users/${USER}/Desktop
3840
KBD_PARTS := apiaster_left apiaster_right \
41+
bw2 \
3942
bykeeb_left bykeeb_right \
4043
corne_left corne_right \
4144
cradio_left cradio_right \
@@ -45,7 +48,7 @@ KBD_PARTS := apiaster_left apiaster_right \
4548
weejock \
4649
zaphod_lite
4750

48-
all: apiaster bykeeb corne ferris weejock tern zaphod
51+
all: apiaster badwings bykeeb corne ferris weejock tern zaphod
4952

5053
apiaster: apiaster_left apiaster_right
5154
ls -l ${BUILD_DIR}/apiaster_*/zephyr/zmk.uf2
@@ -54,6 +57,11 @@ apiaster_left apiaster_right: EXTRA_MODULES += ${APIASTER_CONFIG_DIR}
5457
apiaster_left apiaster_right:
5558
cd ${APP_DIR} && west build -d build/$@ -b seeeduino_xiao_ble ${SNIPPETS} -- -DSHIELD=$@ ${CMAKEFLAGS} -DZMK_CONFIG=${ZMK_CONFIG_DIR}/config -DZMK_EXTRA_MODULES="$(subst $(SPACE),;,$(EXTRA_MODULES))"
5659

60+
badwings: bw2
61+
bw2: EXTRA_MODULES += ${BADWINGS_CONFIG_DIR} ${ZMK_AUTO_LAYER_DIR} ${ZMK_TRI_STATE_DIR}
62+
bw2:
63+
cd ${APP_DIR} && west build -d build/$@ -b bw2 -- ${CMAKEFLAGS} -DZMK_CONFIG=${ZMK_CONFIG_DIR}/config -DZMK_EXTRA_MODULES="$(subst $(SPACE),;,$(EXTRA_MODULES))"
64+
5765
bykeeb: bykeeb_left bykeeb_right
5866
bykeeb_left bykeeb_right: EXTRA_MODULES += ${BYKEEB_CONFIG_DIR} ${VIK_MODULE_DIR} ${FINGERPUNCH_DIR} ${ZMK_AUTO_LAYER_DIR} ${ZMK_TRI_STATE_DIR}
5967
bykeeb_left bykeeb_right:

build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ include:
5757
shield: bykeeb_left
5858
- board: seeeduino_xiao_ble
5959
shield: bykeeb_right
60+
61+
- board: bw2

config/west.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ manifest:
4848
- name: zmk-fingerpunch-keyboards
4949
remote: sadekbaroudi
5050
revision: main
51+
- name: zmk-bad-wings-2
52+
remote: amacleod
53+
revision: module-refactor
5154
self:
5255
path: config

0 commit comments

Comments
 (0)