mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
new backer firmware with original lineup
This commit is contained in:
parent
ef87f44572
commit
967da2465a
|
@ -3,7 +3,7 @@
|
|||
fw_dir="firmware/download"
|
||||
sim_dir="firmware/simulate"
|
||||
colors=("green" "blue")
|
||||
variants=("standard" "alt_time" "deep_space_now" "focus" "the_athlete" "the_backpacker" "the_stargazer")
|
||||
variants=("standard" "backer" "alt_time" "deep_space_now" "focus" "the_athlete" "the_backpacker" "the_stargazer")
|
||||
|
||||
if [ -d "$fw_dir" ] ; then
|
||||
rm -r "$fw_dir"
|
||||
|
@ -25,7 +25,7 @@ do
|
|||
make LED=$COLOR FIRMWARE=$VARIANT
|
||||
mv "build/watch.uf2" "$fw_dir/$variant-$color.uf2"
|
||||
done
|
||||
make clean
|
||||
rm -rf ./build-sim
|
||||
emmake make FIRMWARE=$VARIANT
|
||||
mkdir "$sim_dir/$variant/"
|
||||
mv "build-sim/watch.wasm" "$sim_dir/$variant/"
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
#ifndef MOVEMENT_FIRMWARE
|
||||
#include "movement_config.h"
|
||||
#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_STANDARD
|
||||
#include "alt_fw/standard.h"
|
||||
#include "movement_config.h"
|
||||
#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_BACKER
|
||||
#include "alt_fw/backer.h"
|
||||
#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_ALT_TIME
|
||||
#include "alt_fw/alt_time.h"
|
||||
#elif MOVEMENT_FIRMWARE == MOVEMENT_FIRMWARE_FOCUS
|
||||
|
|
Loading…
Reference in a new issue