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.

TDA4VM: Vision apps build flag based compilation

Part Number: TDA4VM

Hi all,

I have created a build flag in vision_apps/vision_apps_build_flags.mak as below

BUILD_CAMERA_BOARD_EVM=yes.

But it doesn't reflect on sdk_show_config.  

Also based on this flag I am trying to build the file as below. The file is not compiled. May I know the reason?

Thanks & regards,

Gokul

  • Hello Gokul,

    In order for this to show up in the "make sdk_show_config", you would need to add this to the file "vision_apps/makerules/makefile_config.mak" with a line like the below:

     # BUILD_CAMERA_BOARD_EVM=$(BUILD_CAMERA_BOARD_EVM)

    On the second part of the question, I am a bit confused on the expectation.  It looks like the BUILD_CAMERA_BOARD_EVM flag is set to yes in the makerules file, but it is checking to see if it is set to harman_j7 in the makefile.  Therefore, the files inside this will not be compiled.

    Additionally, you may also need to explicitly pass this flag within the PDK build in the file "vision_apps/makerules/makefile_pdk.mak" when calling the pdk_build.  You would need to set BUILD_CAMERA_BOARD_EVM=$(BUILD_CAMERA_BOARD_EVM) in the call to build PDK.

    Regards,

    Lucas

  • Thanks Lucas. I tried your option.(set BUILD_CAMERA_BOARD_EVM=$(BUILD_CAMERA_BOARD_EVM) in the call to build PDK) . we are able to solve.

    There was a mistake from my side

    I have to mention as SRCS_COMMON, not as SRC_COMMON,

    Thanks & regards,

    Gokul