aboutsummaryrefslogtreecommitdiff
path: root/bin/build.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-30 17:45:46 -0700
committerSelene ToyKeeper2023-11-30 17:45:46 -0700
commit2dc1d19e67e2ad1606470bb14ca44e9f8c684d2b (patch)
tree802ee6530d9a4250e384b1696a21f99270ced147 /bin/build.sh
parentfixed RGB aux turning on in momentary mode when post-off voltage was enabled (diff)
downloadanduril-2dc1d19e67e2ad1606470bb14ca44e9f8c684d2b.tar.gz
anduril-2dc1d19e67e2ad1606470bb14ca44e9f8c684d2b.tar.bz2
anduril-2dc1d19e67e2ad1606470bb14ca44e9f8c684d2b.zip
changed version number to use the latest release tag instead of build date
Before: 2023-11-30 (build date) After: 2023-10-31-98.1 (latest release tag + number of commits since + dirty flag)
Diffstat (limited to '')
-rwxr-xr-xbin/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build.sh b/bin/build.sh
index 9b4b0b3..d044ca5 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -49,7 +49,7 @@ export CPP=avr-cpp
export OBJCOPY=avr-objcopy
export DFPFLAGS="-B $DFPPATH/gcc/dev/$MCUNAME/ -I $DFPPATH/include/"
# TODO: include $user/ first so it can override other stuff
-INCLUDES="-I ui -I hw -I. -I.. -I../.. -I../../.."
+INCLUDES="-I .build -I ui -I hw -I. -I.. -I../.. -I../../.."
export CFLAGS=" -Wall -g -Os -mmcu=$MCUNAME -c -std=gnu99 -fgnu89-inline -fwhole-program $MCUFLAGS $INCLUDES -fshort-enums $DFPFLAGS"
export CPPFLAGS="-Wall -g -Os -mmcu=$MCUNAME -C -std=gnu99 -fgnu89-inline -fwhole-program $MCUFLAGS $INCLUDES -fshort-enums $DFPFLAGS"
export OFLAGS="-Wall -g -Os -mmcu=$MCUNAME -mrelax $DFPFLAGS"