Only output data and text sections to the hex file

This commit is contained in:
Cristiano De Alti 2014-12-03 00:07:55 +01:00
parent 65e70baa84
commit a3435952ef

View File

@ -28,7 +28,7 @@ LDFLAGS = $(COMMON)
LDFLAGS += -Wl,-Map=$(PROJECT).map,--cref LDFLAGS += -Wl,-Map=$(PROJECT).map,--cref
## Intel Hex file production flags ## Intel Hex file production flags
HEX_FLASH_FLAGS = -R .eeprom HEX_FLASH_FLAGS = -j .text -j .data
HEX_EEPROM_FLAGS = -j .eeprom HEX_EEPROM_FLAGS = -j .eeprom
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load" HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"