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.

SK-TDA4VM: Creating a simple hello_world C++ build to generate firmware in the PDK build.

Part Number: SK-TDA4VM

Tool/software:

Hi,

I am currently working with TI-PSDK-RTOS-j721e-evm-09_02_00_05, and I am trying to build a simple hello_world.cpp file to generate a .xer5f file for the R5F core, as well as for other cores. I am using the existing build system in the PDK, so I did the following:

I created a folder hello inside the ti/ in that i created  hello_world.cpp file and a makefile, similar to other driver files. However, I am not sure how to proceed from here, especially when it comes to adding linker files. Based on my exploration, I understand that this is handled by other makefiles in the makerules folder.

My question is: is my understanding correct? Also, how can I expose the hello_world.cpp file to the top-level makefiles so that it is included in the build? I noticed that I may only need to make a few changes in the makerules/component.mk, and other makefiles but I'm unsure how to do this. Please guide me

Thank you