aboutsummaryrefslogtreecommitdiff
path: root/bin/build.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2021-09-15 01:40:06 -0600
committerSelene ToyKeeper2021-09-15 01:40:06 -0600
commitb2d963efd4bcbc83a310c26d31c306176e21b1f6 (patch)
treef2f01f6545dac54f9b23bbc2fa14c6dfd84950b7 /bin/build.sh
parentdocumented "hold" action in number entry state (diff)
parentadded Noctigon K9.3-tintramp build targets for FET, reduced FET, and noFET (diff)
downloadanduril-b2d963efd4bcbc83a310c26d31c306176e21b1f6.tar.gz
anduril-b2d963efd4bcbc83a310c26d31c306176e21b1f6.tar.bz2
anduril-b2d963efd4bcbc83a310c26d31c306176e21b1f6.zip
merged K9.3-tintramp / D4Sv2-tintramp branch
(which also changed the way tint ramping is implemented, to make things generally cleaner and more flexible)
Diffstat (limited to 'bin/build.sh')
-rwxr-xr-xbin/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build.sh b/bin/build.sh
index aa983c8..58896a5 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -30,7 +30,7 @@ export CC=avr-gcc
export OBJCOPY=avr-objcopy
export DFPFLAGS="-B $ATTINY_DFP/gcc/dev/$MCU/ -I $ATTINY_DFP/include/"
export CFLAGS="-Wall -g -Os -mmcu=$MCU -c -std=gnu99 -fgnu89-inline -fwhole-program -DATTINY=$ATTINY -I.. -I../.. -I../../.. -fshort-enums $DFPFLAGS"
-export OFLAGS="-Wall -g -Os -mmcu=$MCU $DFPFLAGS"
+export OFLAGS="-Wall -g -Os -mmcu=$MCU -mrelax $DFPFLAGS"
export LDFLAGS="-fgnu89-inline"
export OBJCOPYFLAGS='--set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex'
export OBJS=$PROGRAM.o