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.

RTOS/TMS320C6678: Creating a custom board in project directory

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello,

I want to create a custom board in SYSBIOS. However, from what I understand, the board has to be created in the directory <pdk_xxxxxx_x_x_x>\packages\ti\board\src. My problem is that this directory can't be put under source control. I don't want to copy these files in a directory under source control because if there is any modifications to these files, I would have to copy it back to the PDK board directory. This could work if your alone in the project but this is not the case. I could make a batch file to do that called in pre-build step but I don't really like the idea.

Is there a way we could create the custom board in our project directory somewhere?

Thanks,

Hugo

  • I've forwarded your query to the software experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Hello Hugo,

    Please take a look at this wiki page:

    processors.wiki.ti.com/.../Adding_Custom_Board_Library_Target_to_Processor_SDK_RTOS_makefiles

    Try replacing the directories in steps 3 and 4 with your own directories and let me know if that works.

    Best,
    Sahin
  • Hugo,

    As Sahin has indicated, our current instructions are designed to create the custom board inside the PDK board directory structure. If you need the build to be outside of the PDK in you own project, I would recommend that you invoke the build for the evmC6678 board library and store the build log to a text file and then create a separate folder with a makefile that includes the necessary source and compiler options.

    If you trace the evmC6678 in the makefile under the path <pdk_xxxxxx_x_x_x>\packages\ti\board\makefile.mk, you will see find the files that specifies the source files required for the build library. the compiler options are picked from makefiles pdk_xxxxx_x_x_x\packages\ti\build\makerules and board_component.mk so they are harder to follow. Hence, I recommend that you capture the compiler options from the build log.

    We currently don`t have this on the wiki that Sahin pointed you to, but we may be able to add this if you run into any issues.
    Hope this provides some insight into the current implementation of board library.

    Regards,
    Rahul