updated justfile
This commit is contained in:
parent
5329a1e2c0
commit
8e1058154b
1 changed files with 1 additions and 1 deletions
2
Justfile
2
Justfile
|
@ -49,7 +49,7 @@ _build_single $board $shield $snippet *west_args:
|
||||||
|
|
||||||
echo "Building firmware for $artifact..."
|
echo "Building firmware for $artifact..."
|
||||||
west build -s zmk/app -d "$build_dir" -b $board {{ west_args }} ${snippet:+-S "$snippet"} -- \
|
west build -s zmk/app -d "$build_dir" -b $board {{ west_args }} ${snippet:+-S "$snippet"} -- \
|
||||||
-DZMK_CONFIG="{{ config }}" ${shield:+-DSHIELD="$shield"}
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DZMK_CONFIG="{{ config }}" ${shield:+-DSHIELD="$shield"}
|
||||||
|
|
||||||
if [[ -f "$build_dir/zephyr/zmk.uf2" ]]; then
|
if [[ -f "$build_dir/zephyr/zmk.uf2" ]]; then
|
||||||
mkdir -p "{{ out }}" && cp "$build_dir/zephyr/zmk.uf2" "{{ out }}/$artifact.uf2"
|
mkdir -p "{{ out }}" && cp "$build_dir/zephyr/zmk.uf2" "{{ out }}/$artifact.uf2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue