This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: Integrating CCS MCU build into Yocto

Part Number: AM625

Tool/software:

Dear TI team,

I have a CCS project for the M4F MCU of the AM625 processor, everything works fine.

Now I am trying to integrate the build of the firmware into a Yocto recipe, so it is built alongside our Linux applications and installed under /lib/firmware/.

I have written a bitbake recipe whose do_compile() sets the environment variables accordingly and then calls the makefile called makefile_ccs_bootimage_gen.

Then I noticed that the makefile does not call the compiler at all - it just handles post-build steps.

How can I call the compiler from the recipe the same way (including the same settings) CCS calls it when I press "Build project"?

If my idea to create a Yocto recipe for the MCU build is not the way to go, please tell me...

Kind regards

Leon

PS: I am using SDK 09.01.00.39, Yocto kirkstone, CCS 12.5.0.00007

  • Hi Leon,

    Yes, the makefile_ccs_bootimage_gen file only have the command to handle the post build steps. This makefile contains steps to convert the *.out to *.appimage format.

    Instead of using makefile_ccs_bootimage_gen file, you can use the makefile provided in the SDK with every example.

    Regards,

    Tushar