diff options
| author | Selene ToyKeeper | 2022-04-14 21:39:50 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2022-04-14 21:39:50 -0600 |
| commit | b34e7a1f3b9ab1b69d863187d542449545c21201 (patch) | |
| tree | 68bf7a1e7813480311a8dc0009cfb4cbeca7e888 /bin/build.sh | |
| parent | just a couple quick notes on using attiny1616, since the process is still evo... (diff) | |
| parent | applied new phase-hack flags to other builds where relevant (diff) | |
| download | anduril-b34e7a1f3b9ab1b69d863187d542449545c21201.tar.gz anduril-b34e7a1f3b9ab1b69d863187d542449545c21201.tar.bz2 anduril-b34e7a1f3b9ab1b69d863187d542449545c21201.zip | |
merged sp10-pro shutoff fix and mt35-mini support
Diffstat (limited to 'bin/build.sh')
| -rwxr-xr-x | bin/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build.sh b/bin/build.sh index 58896a5..4cb03b4 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -32,7 +32,7 @@ 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 -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 OBJCOPYFLAGS='--set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex --remove-section .fuse' export OBJS=$PROGRAM.o for arg in "$*" ; do |
