Only output data and text sections to the hex file

ico
Cristiano De Alti 2014-12-03 00:07:55 +01:00
parent 65e70baa84
commit a3435952ef
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ LDFLAGS = $(COMMON)
LDFLAGS += -Wl,-Map=$(PROJECT).map,--cref
## 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 += --set-section-flags=.eeprom="alloc,load"