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.

[FAQ] TDA4VM: How to build C++ application from j721e PDK? Is there a demo example available?

Part Number: TDA4VM

Hi,

I am trying to build C++ application from j721e but running into build errors. Is there a demo application that shows how to build a C++ application from PDK?

  • Hi,

    You can apply the below patch on the top of SDK 8.1. 
    0001-C-Demo.patch

    Please follow the procedure below to apply the patch:

    • Initialize a git repo at <pdkInstallPath>\packages\ti and do the initial commit
      1. cd <pdkInstallPath>\packages\ti\
      2. git init
      3. git add .
      4. git commit -m “Initial Commit”
    • Apply the patch
      1. git am 0001-C-Demo.patch

    Patch contains makerules changes to incorporate C++ build and a demo application in form of a diagnostic example.

    The patch has been validated on j721e SDK 8.1. The demo application can be built for MCU and MPU core with the following command in <pdkInstallPath>\packages\ti\build

    gmake BOARD=j721e_evm CORE=mcu1_0 CPLUSPLUS_BUILD=yes board_diag_cppTest

    gmake BOARD=j721e_evm CORE=mpu1_0 CPLUSPLUS_BUILD=yes board_diag_cppTest

    Regards,

    Parth