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.

Compiler/IWR1443BOOST: mmwDemo with GCC compiler

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

Has anyone tried to compile mmwDemo with GCC compiler instead of ti-cgt-arm compiler?

Some tips and tricks would be very helpful.

Best regards,

Predrag 

  • Hi Predrag,

    GCC compiler is not supported for mmWave SDK including mmw demos. The list of tools required for development with mmwave SDK is provided in the SDK release notes.

    Thanks
    -Nitin
  • Hi Nitin,

    Thank you for your response. I asked this question because I wanted to include

    external numerical library which I compiled with GCC compiler for cortex-r4f.

    Can you suggest some solution to my problem? How external libraries can be compiled with TI ARM compiler and be part of the mmwDemo project?

    Best regards,

    Predrag

  • Hi Predrag,

    The mmWave SDK comes with complete source including makefiles  for each component. You can look at the makefile for any of the mmwave component libraries e.g. drivers, demos, mmwave lib etc and adapt those to the library you want to build. Did you already try this and face any specific issues?

    Thanks

    -Nitin

     

  • I do not have experience doing this so my answer below should not be taken too seriously:

    There are two possibilities :

    a) Attempt to compile the SDK (drivers and demo) using gcc. You can look at the makefiles in the SDK to see what compiler and linker options we are using to do this porting. If you are continuing to use TI's SYSBIOS, then you will also have to build the BIOS with GCC, there is some information about this online (processors.wiki.ti.com/.../BIOS_with_GCC) but don't know how current it is, you can follow up about this on the BIOS forum if you choose this path.

    OR

    b) Attempt to build external library using TI ARM compiler and link it as a library in the demo project by modifying the build infrastructure (we do not support this per se, you will have to read the build infrastructure and figure out yourself, although our build infra is not too complicated). In this path, you may need to study and possibly use gcc extensions support available in the TI ARM compiler (www.ti.com/.../spnu151r.pdf ). If you take this path, you may need to post your problems on the compiler forum.

    Either path you take, we will not be able to provide any support on this forum as we do not officially support gcc and we are not compiler/BIOS experts, you will have to read the SDK source code of drivers and make infrastructure to do the changes needed on your own. We would be happy if you succeed in this effort and are able to share the findings with the broader community here for the benefit of others. Thanks.
  • Nitin and Piyush_, thank you very much for your advice. I will try one of this options and reply to this post after that.

    Best regards, Predrag