diff options
| author | Selene ToyKeeper | 2020-05-14 16:50:48 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-05-14 16:50:48 -0600 |
| commit | 56bfa48fa0f694894b4befdfa9858971004fd101 (patch) | |
| tree | 8dce8bf606b60eb57f830c2afc3328516d904bf2 /spaghetti-monster/werner/build-all.sh | |
| parent | fixed eeprom_wl functions on attiny1634 (diff) | |
| download | anduril-56bfa48fa0f694894b4befdfa9858971004fd101.tar.gz anduril-56bfa48fa0f694894b4befdfa9858971004fd101.tar.bz2 anduril-56bfa48fa0f694894b4befdfa9858971004fd101.zip | |
fixed builds of Werner's UI on targets which had been failing (Noctigon K1, BLF LT1 Lantern, and all attiny1634 targets)
Diffstat (limited to 'spaghetti-monster/werner/build-all.sh')
| -rwxr-xr-x | spaghetti-monster/werner/build-all.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spaghetti-monster/werner/build-all.sh b/spaghetti-monster/werner/build-all.sh index 87d4f0d..b114101 100755 --- a/spaghetti-monster/werner/build-all.sh +++ b/spaghetti-monster/werner/build-all.sh @@ -7,7 +7,9 @@ UI=werner for TARGET in cfg-*.h ; do NAME=$(echo "$TARGET" | perl -ne '/cfg-(.*).h/ && print "$1\n";') echo "===== $NAME =====" - echo ../../../bin/build.sh 85 "$UI" "-DCONFIGFILE=${TARGET}" - ../../../bin/build.sh 85 "$UI" "-DCONFIGFILE=${TARGET}" + ATTINY=$(grep 'ATTINY:' $TARGET | awk '{ print $3 }') + if [ -z "$ATTINY" ]; then ATTINY=85 ; fi + echo ../../../bin/build.sh $ATTINY "$UI" "-DCONFIGFILE=${TARGET}" + ../../../bin/build.sh $ATTINY "$UI" "-DCONFIGFILE=${TARGET}" mv -f "$UI".hex "$UI".$NAME.hex done |
