summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-10-09 19:40:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-10-09 19:40:23 +0200
commit485e1767438cb0976b8b870443d07d0d001f592f (patch)
tree6a0515d052f67e477ca285b4e968ce1c39ab7283 /Makefile
parentdc9ae61c5491ffc43590e88cf05c6feb16cdd062 (diff)
HCNT / r30.r31 is not needed (only the low time holds information)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index deba10b..7e78326 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ CFLAGS += -mmcu=attiny2313a -DF_CPU=20000000UL
#CFLAGS += -gdwarf-2 -fverbose-asm
CFLAGS += -I. -std=gnu99 -Os -Wall -Wextra -pedantic
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
-# r28 .. r31 hold the microsecond counters
-CFLAGS += -ffixed-28 -ffixed-29 -ffixed-30 -ffixed-31
+# r28 / r29 hold the microsecond counters
+CFLAGS += -ffixed-28 -ffixed-29
CFLAGS += -fwhole-program -flto -mstrict-X
AVRFLAGS += -U lfuse:w:0xe4:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m