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.

CCS/IWR6843ISK-ODS: Is it possible to build one of the labs without CCS, e.g., through makefile?

Part Number: IWR6843ISK-ODS
Other Parts Discussed in Thread: MMWAVE-SDK

Tool/software: Code Composer Studio

Hello,

I was wondering if it is possible to build 68xx_ods_point_cloud_demo using makefile? 

I'm able to build the mmwave-SDK demo example successfully in Linux with makefile, and would like to have the same setup for the point cloud lab (using the makefile). Could you provide the makefile for this task please? Or what would be your general advise?

Thank you.

  • Hi Viktoria,

    We provide CCS projects for the labs in Industrial Toolbox to make the build process easier for users who are not familiar with makefiles as those generally require a higher level of software development expertise. We do not provide makefile for these demos but if you are already familiar with makefiles (which I believe you are), you can create a makefile for any demo by referring to the SDK demo makefile and using that as a template.

    Note that the ccs projectspecs provided in the demos are fully self contained and define all the compiler / linker flags, pre-defined symbols, include paths for headers and pre-compiled libraries and list of source files, tools used etc. Compared to this, the SDK demo makefiles rely on common makefiles (mmwave_sdk.mak) in SDK common directory for definitions such as tools, compiler/linker flags, etc along-with the environment setup file.

    Let us know if you have specific questions regarding the SDK makefiles.

    Regards

    -Nitin    

     

  • Hello, Nitin,

    Thank you for the prompt reply. I'd like to try to set up the makefile as it is done with the mmwave-sdk demo application for the xx68 devices. I reused the makefiles for the root and mss directories (the point cloud lab does not have dss folder), and changed the mmw_mss.mak to include the source files I need for the demo. It is able to go through half of the build, but then I start getting errors like:

    "./mss/../mss/data_path.c", line 57: fatal error: cannot open source file "data_path.h" 
    1 catastrophic error detected in the compilation of "./mss/../mss/data_path.c". 
    Compilation terminated.

    Basically, it fails to find all of the header files that are located inside mss folder. 

    It looks like my mss folder is not included from the mss/mmw_mss.mak and that's why it cannot find all the header files there. Could you provide any tips on where I should look in order to fix this error? Do I need to change anything inside the mmw_mss.mak in order to --include the mss folder?

    Thank you!

  • Hi Victoria,

    Looking at the following error:

    "./mss/../mss/data_path.c", line 57: fatal error: cannot open source file "data_path.h" 
    1 catastrophic error detected in the compilation of "./mss/../mss/data_path.c". 
    Compilation terminated.

    It appears that your makefile is not including the current directory since datapath.h is in the mss directory itself from where the makefile is invoked. Were you able to resolve this or do you still need support on this topic?

    Regards

    -Nitin

  • Hi Nitin,

    Thank you, I was able to resolve it and now have a working Makefile for the ODS lab.