Skip to content

Commit

Permalink
Adjustments to build_corne.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel2887 committed Jul 27, 2024
1 parent 414740f commit d4528a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build_corne.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
pushd app
echo.
echo -----------------------
echo Now building Corne left
echo Now building Corne right
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
west build -d build/corne_right -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="../../zmk-config/config" || echo Error building Corne right && popd && exit /b
echo.
echo -----------------------
echo Now building Corne right
echo Now building Corne left
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
west build -d build/corne_left -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG="../../zmk-config/config" || echo Error building Corne left && 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
copy app\build\right\zephyr\zmk.uf2 output\right.uf2 || echo Error copying left firmware && exit /b
copy app\build\corne_left\zephyr\zmk.uf2 output\corne_left.uf2 || echo Error copying Corne right firmware && exit /b
copy app\build\corne_right\zephyr\zmk.uf2 output\corne_right.uf2 || echo Error copying Corne left firmware && exit /b

0 comments on commit d4528a4

Please sign in to comment.