Issue 108 fixed
This commit is contained in:
+3
-1
@@ -709,7 +709,9 @@ end:
|
|||||||
ifeq ($(PCB), ARM)
|
ifeq ($(PCB), ARM)
|
||||||
ELFSIZE = $(SIZE) $(TARGET).elf
|
ELFSIZE = $(SIZE) $(TARGET).elf
|
||||||
else
|
else
|
||||||
ELFSIZE = $(SIZE) --mcu=$(MCU) --format=avr $(TARGET).elf
|
MCU_FLAG = $(shell $(SIZE) --help | grep -- --mcu > /dev/null && echo --mcu=$(MCU) )
|
||||||
|
FORMAT_FLAG = $(shell $(SIZE) --help | grep -- --format=.*avr > /dev/null && echo --format=avr )
|
||||||
|
ELFSIZE = $(SIZE) $(MCU_FLAG) $(FORMAT_FLAG) $(TARGET).elf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
sizebefore:
|
sizebefore:
|
||||||
|
|||||||
Reference in New Issue
Block a user