My poor zofle...

This commit is contained in:
Daniel Flanagan 2024-06-24 16:16:41 -05:00
parent 24d7cf4457
commit fb5cb7aed6
4 changed files with 20 additions and 10 deletions

View file

@ -3,7 +3,7 @@
ZMK_DOCKER_IMAGE="${ZMK_DOCKER_IMAGE:-docker.io/zmkfirmware/zmk-build-arm:stable}" ZMK_DOCKER_IMAGE="${ZMK_DOCKER_IMAGE:-docker.io/zmkfirmware/zmk-build-arm:stable}"
if [[ -n $ZMK_PULL_DOCKER_IMAGE ]]; then if [[ -n $ZMK_PULL_DOCKER_IMAGE ]]; then
docker pull "$ZMK_DOCKER_IMAGE" podman pull "$ZMK_DOCKER_IMAGE"
fi fi
mkdir -p "${PWD}/build" mkdir -p "${PWD}/build"

View file

@ -9,5 +9,9 @@ manifest:
remote: zmkfirmware remote: zmkfirmware
revision: main revision: main
import: app/west.yml import: app/west.yml
# - name: zmk
# remote: infused-kim
# revision: main
# import: app/west.yml
self: self:
path: config path: config

View file

@ -8,6 +8,11 @@ end
set flash_target /dev/disk/by-label/NICENANO set flash_target /dev/disk/by-label/NICENANO
set firmware_file $argv[1] set firmware_file $argv[1]
if test -z $firmware_file
echo no firmware file argument specified
exit 2
end
mkdir -p /tmp/flashmnt mkdir -p /tmp/flashmnt
while not test -L $flash_target while not test -L $flash_target
echo Waiting for mountable device $flash_target to become available to flash $firmware_file... echo Waiting for mountable device $flash_target to become available to flash $firmware_file...

1
zofle/zmk-config Submodule

@ -0,0 +1 @@
Subproject commit c2992a0f31902a62d77667c3846e27690def6745