1

I have 2 separate projects: bootloader and application.

While building bootloader project I've added the following line in post-build steps in Eclipse: arm-none-eabi-objcopy -S -O binary "${ProjName}.elf" "${ProjName}.bin", so *.bin file was created.

Now, in the application project, I'd like to add this *.bin at specified addresses in order to produce one *.hex/*elf file.

Can arm-none-eabi-objcopy be used for this purpose? Or is there linker command that could combine existing *.bin file from bootloader project and *.o files from application project during linking?

1 Answer 1

0

Here seems to be a bunch of suggestions on how you might accomplish what you want:

Include binary file with GNU ld linker script

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.