diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-10-09 19:40:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-10-09 19:40:23 +0200 |
commit | 485e1767438cb0976b8b870443d07d0d001f592f (patch) | |
tree | 6a0515d052f67e477ca285b4e968ce1c39ab7283 /Makefile | |
parent | dc9ae61c5491ffc43590e88cf05c6feb16cdd062 (diff) |
HCNT / r30.r31 is not needed (only the low time holds information)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |