|
|
|
@ -12,8 +12,7 @@ HEX = $(OBJCOPY) -O $(FORMAT) -R .eeprom -R .fuse -R .lock -R .signature |
|
|
|
|
EEP = $(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O $(FORMAT)
|
|
|
|
|
BIN =
|
|
|
|
|
|
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
|
|
|
|
|
ifneq ($(findstring 12.,$(shell avr-gcc --version 2>/dev/null)),) |
|
|
|
|
ifeq ("$(shell echo "int main(){}" | $(CC) --param=min-pagesize=0 -x c - -o /dev/null 2>&1)", "") |
|
|
|
|
COMPILEFLAGS += --param=min-pagesize=0
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|