My poor zofle...
This commit is contained in:
parent
24d7cf4457
commit
fb5cb7aed6
|
@ -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"
|
||||||
|
|
|
@ -3,11 +3,15 @@ manifest:
|
||||||
- name: zmkfirmware
|
- name: zmkfirmware
|
||||||
url-base: https://github.com/zmkfirmware
|
url-base: https://github.com/zmkfirmware
|
||||||
# - name: infused-kim
|
# - name: infused-kim
|
||||||
# url-base: https://github.com/infused-kim
|
# url-base: https://github.com/infused-kim
|
||||||
projects:
|
projects:
|
||||||
- name: zmk
|
- name: zmk
|
||||||
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
|
|
@ -1,20 +1,25 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
test (whoami) != root && begin
|
test (whoami) != root && begin
|
||||||
echo must be root
|
echo must be root
|
||||||
exit 1
|
exit 1
|
||||||
end
|
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...
|
||||||
echo ' This usually means you need to plugin the board and reset it.'
|
echo ' This usually means you need to plugin the board and reset it.'
|
||||||
echo ' This is done by plugging in the board and double-tapping the'
|
echo ' This is done by plugging in the board and double-tapping the'
|
||||||
echo ' reset button with the nice!nano controllers this build uses.'
|
echo ' reset button with the nice!nano controllers this build uses.'
|
||||||
sleep 1
|
sleep 1
|
||||||
end
|
end
|
||||||
|
|
||||||
echo Mounting $flash_target to /tmp/flashmnt...
|
echo Mounting $flash_target to /tmp/flashmnt...
|
||||||
|
|
1
zofle/zmk-config
Submodule
1
zofle/zmk-config
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c2992a0f31902a62d77667c3846e27690def6745
|
Loading…
Reference in a new issue