I have a binary blob that I want to link into my binary.
In IAR Embedded Workbench I can specify a raw binary image, assign it a symbol (variable name) and define the link section and alignment. This through the project options/Linker/Input dialog.
In GCC/binutils I can use the objcopy to make an elf object file out of the binary blob, e.g. $ objcopy -I binary -O elf64-x86-64 -B i386 --rename-section .data=sectionname inbinaryblob outelfobject This elf object I can then link into my binary.
How to go about this in ARM/KEIL uVision 5 and the arm compiler?