diff --git a/thermidity-avr/Makefile b/thermidity-avr/Makefile index 0c98622..73e2176 100644 --- a/thermidity-avr/Makefile +++ b/thermidity-avr/Makefile @@ -27,6 +27,8 @@ CFLAGS += -Wall -Wstrict-prototypes CFLAGS += -g -ggdb CFLAGS += -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--relax CFLAGS += -std=gnu99 +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 +# CFLAGS += --param=min-pagesize=0 TARGET = $(strip $(basename $(MAIN))) SRC += $(TARGET).c @@ -50,7 +52,7 @@ eeprom: $(TARGET).eeprom $(OBJDUMP) -S $< > $@ size: $(TARGET).elf - $(AVRSIZE) -C --mcu=$(MCU) $(TARGET).elf + $(AVRSIZE) -G $(TARGET).elf clean: rm -f $(TARGET).elf $(TARGET).hex $(TARGET).obj \ diff --git a/thermidity-avr/nbproject/configurations.xml b/thermidity-avr/nbproject/configurations.xml index 911a743..3b40972 100644 --- a/thermidity-avr/nbproject/configurations.xml +++ b/thermidity-avr/nbproject/configurations.xml @@ -31,7 +31,7 @@ - AVR|GNU + AVR2.1-GCC13.2|GNU false false