Skip to content

Commit

Permalink
chore(script): update the firmware build
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvinsh committed Nov 15, 2024
1 parent bbb6edf commit 81e774a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/firmware_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ echo -e "${RED}---> Building helios..${NC}"
west build -p -d build/helios -b blackpill_f411ce -S studio-rpc-usb-uart -- -DSHIELD="helios" -DZMK_EXTRA_MODULES="$WORKSPACE_DIR/../zmk-config;$WORKSPACE_DIR/../zmk-tri-state;$WORKSPACE_DIR/../zmk-num-word" -DZMK_CONFIG="$WORKSPACE_DIR"/../zmk-config/config

echo -e "${RED}---> Building nice_nano_v2 reset firmware..${NC}"
west build -p -d build/reset -b nice_nano_v2 -S studio-rpc-usb-uart -- -DSHIELD="settings_reset"

echo -e "${RED}---> Building blackpill_f411ce reset firmware..${NC}"
west build -p -d build/reset -b blackpill_f411ce -S studio-rpc-usb-uart -- -DSHIELD="settings_reset"
west build -p -d build/reset -b nice_nano_v2 -- -DSHIELD="settings_reset"

echo -e "${RED}---> Copying and renaming the build..${NC}"
sleep 2
Expand All @@ -47,5 +44,4 @@ cp build/lynx_left/zephyr/zmk.uf2 "$WORKSPACE_DIR"/../zmk-config/builds/lynx_lef
cp build/lynx_right/zephyr/zmk.uf2 "$WORKSPACE_DIR"/../zmk-config/builds/lynx_right.uf2
cp build/reset/zephyr/zmk.uf2 "$WORKSPACE_DIR"/../zmk-config/builds/nice_nano_v2_reset.uf2

cp build/helios/zephyr/zmk.bin "$WORKSPACE_DIR"/../zmk-config/builds/helios.bin
cp build/reset/zephyr/zmk.bin "$WORKSPACE_DIR"/../zmk-config/builds/blackpill_f411ce_reset.bin
cp build/helios/zephyr/zmk.uf2 "$WORKSPACE_DIR"/../zmk-config/builds/helios.uf2

0 comments on commit 81e774a

Please sign in to comment.