firecrown/bin/flash-firmware

7 lines
170 B
Bash
Executable file

#!/usr/bin/env zsh
source "${0:a:h}/lib/env"
source "$lib/jflash"
flash APPLICATION "$out/mcuboot/zephyr/zephyr.hex"
flash NETWORK "$out/net/zephyr/zephyr.hex"
finalize