https://sourceware.org/bugzilla/show_bug.cgi?id=27214
--- Comment #2 from Shareef Jalloq <shareef at jalloq dot co.uk> ---
I'd long forgotten I even opened this ticket... and guess I have no confidence
that it will ever be fixed given no one has accepted it in 2 years....
In the meantime you can use srec_cat to output Verilog Hex (VMEM) formats.
Here's an example of our Makefile targets:
$(BUILD_DIR)/$(BIN).hex: $(BUILD_DIR)/$(BIN).elf
@echo " IHEX $(notdir $@)"
$(CMD_ECHO) $(OBJCOPY) -O ihex $< $@
$(BUILD_DIR)/$(BIN).32.vmem: $(BUILD_DIR)/$(BIN).hex
@echo " VMEM $(notdir $@)"
$(CMD_ECHO) srec_cat $< -intel \
-fill 0xFF -within $< -intel \
-range-pad 4 \
-crop $(START) $(END) \
-offset -$(START) \
-byte-swap 4 \
-output $@ -vmem 32
$(BUILD_DIR)/$(BIN).128.vmem: $(BUILD_DIR)/$(BIN).hex
@echo " VMEM $(notdir $@)"
$(CMD_ECHO) srec_cat $< -intel \
-fill 0xFF -within $< -intel \
-range-pad 16 \
-crop $(START) $(END) \
-offset -$(START) \
-byte-swap 128 \
-output $@ -vmem 128
--
You are receiving this mail because:
You are on the CC list for the bug.