Skip to content

Commit

Permalink
Add USB logging to Hummingbird.
Browse files Browse the repository at this point in the history
  • Loading branch information
amacleod committed Mar 3, 2025
1 parent f3cbc18 commit c6a94aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ deploy_ferris: ferris
@echo
cp -v ${BUILD_DIR}/cradio_right/zephyr/zmk.uf2 ${NANO_PATH}/

hummingbird: SNIPPETS += -S studio-rpc-usb-uart
hummingbird: SNIPPETS += -S studio-rpc-usb-uart -S zmk-usb-logging
hummingbird: CMAKEFLAGS += -DCONFIG_ZMK_STUDIO=y
hummingbird:
cd ${APP_DIR} && west build -d build/$@ -b seeeduino_xiao_rp2040 ${SNIPPETS} -- -DSHIELD="$@" ${CMAKEFLAGS} -DZMK_CONFIG=${ZMK_CONFIG_DIR}/config -DZMK_EXTRA_MODULES="$(subst $(SPACE),;,$(EXTRA_MODULES))"
Expand Down
2 changes: 1 addition & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ include:

- board: seeeduino_xiao_rp2040
shield: hummingbird
snippet: studio-rpc-usb-uart
snippet: studio-rpc-usb-uart zmk-usb-logging
cmake-args: -DCONFIG_ZMK_STUDIO=y

0 comments on commit c6a94aa

Please sign in to comment.