diff --git a/scripts/firmware_build.sh b/scripts/firmware_build.sh index de0e2c2..b903636 100755 --- a/scripts/firmware_build.sh +++ b/scripts/firmware_build.sh @@ -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 @@ -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