Closed bmarcot closed 8 years ago
Real HW needs a binary that can be stored in Flash. Builds an ihex file alongside the elf file. Why IntelHex format? Because most flashing tools understand that format (Segger JLink, etc).
arm-none-eabi-objcopy -O ihex kernel.elf kernel.hex
Add a new rule to the Makefile to build such file.
OCPY = $(CROSS)objcopy %.hex: %.elf $(OCPY) -O ihex $< $@
Feature added in ad03d71.
Real HW needs a binary that can be stored in Flash. Builds an ihex file alongside the elf file. Why IntelHex format? Because most flashing tools understand that format (Segger JLink, etc).
Add a new rule to the Makefile to build such file.