From cd44cb74a2a3a058a2ff250797fd103f8a8d8423 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Wed, 10 Jan 2024 09:38:33 -0500 Subject: [PATCH] fix alternate firmware script --- movement/make/make_alternate_fw.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/movement/make/make_alternate_fw.sh b/movement/make/make_alternate_fw.sh index c65e72d..df27403 100755 --- a/movement/make/make_alternate_fw.sh +++ b/movement/make/make_alternate_fw.sh @@ -21,12 +21,12 @@ do for color in "${colors[@]}" do COLOR=$(echo "$color" | tr '[:lower:]' '[:upper:]') - make clean + make COLOR=$COLOR clean make COLOR=$COLOR FIRMWARE=$VARIANT mv "build/watch.uf2" "$fw_dir/$variant-$color.uf2" done rm -rf ./build-sim - emmake make FIRMWARE=$VARIANT + emmake make COLOR=GREEN FIRMWARE=$VARIANT mkdir "$sim_dir/$variant/" mv "build-sim/watch.wasm" "$sim_dir/$variant/" mv "build-sim/watch.js" "$sim_dir/$variant/"