Skip to content

Commit

Permalink
Cosmetic changes to build_corne.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel2887 committed Jun 27, 2024
1 parent 34d1ce8 commit 1f3834d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions build_corne.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
@echo off
pushd app
west build -d build/left -b nice_nano_v2 -- -DSHIELD=corne_left -DSHIELD=corne_left -DZMK_CONFIG="../../zmk-config/config" || echo Error building Corne left && popd && exit /b
west build -d build/right -b nice_nano_v2 -- -DSHIELD=corne_right -DSHIELD=corne_left -DZMK_CONFIG="../../zmk-config/config" || echo Error building Corne right && popd && exit /b
echo.
echo -----------------------
echo Now building Corne left
echo -----------------------
west build -d build/left -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG="../../zmk-config/config" || echo Error building Corne left && popd && exit /b
echo.
echo -----------------------
echo Now building Corne right
echo -----------------------
west build -d build/right -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="../../zmk-config/config" || echo Error building Corne right && popd && exit /b
popd
if not exist "output" mkdir output
copy app\build\left\zephyr\zmk.uf2 output\left.uf2 || echo Error copying right firmware && exit /b
Expand Down

0 comments on commit 1f3834d

Please sign in to comment.