diff options
| author | Selene ToyKeeper | 2018-08-22 17:46:28 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-08-22 17:46:28 -0600 |
| commit | cdadf7454342e841fdadd44fb5fe29ed78135af6 (patch) | |
| tree | 277ce22c86b193696a0db55d967e7ca31a472576 /bin/build-85.sh | |
| parent | should stop coding for today, undo custom changes not to be commited (diff) | |
| download | anduril-cdadf7454342e841fdadd44fb5fe29ed78135af6.tar.gz anduril-cdadf7454342e841fdadd44fb5fe29ed78135af6.tar.bz2 anduril-cdadf7454342e841fdadd44fb5fe29ed78135af6.zip | |
Reduced ROM size back to pre-branch levels
(aside from 6 extra bytes to fix interaction between aux LEDs and lockout moon).
Fixed typos: lightening, tactial.
Replaced new switch/case clauses with if/else clauses, to reduce ROM size.
Added -fshort-enums to gcc options to reduce ROM size.
Diffstat (limited to 'bin/build-85.sh')
| -rwxr-xr-x | bin/build-85.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-85.sh b/bin/build-85.sh index 8e3704b..f0cf1b9 100755 --- a/bin/build-85.sh +++ b/bin/build-85.sh @@ -8,7 +8,7 @@ export ATTINY=85 export MCU=attiny$ATTINY export CC=avr-gcc export OBJCOPY=avr-objcopy -export CFLAGS="-Wall -g -Os -mmcu=$MCU -c -std=gnu99 -DATTINY=$ATTINY -I.. -I../.. -I../../.." +export CFLAGS="-Wall -g -Os -mmcu=$MCU -c -std=gnu99 -DATTINY=$ATTINY -I.. -I../.. -I../../.. -fshort-enums" export OFLAGS="-Wall -g -Os -mmcu=$MCU" export LDFLAGS= export OBJCOPYFLAGS='--set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex' |
