GNU on ADuCM360 IDE


Hi all,

I'm using ADuCM360 IDE in oder to build some examples.

In an example, included  cstddef(#include <cstddef>) library from GNU.

I also installed GNU(Version:5.3 2016q1) on my PC.

Below picture is errors when i try to build CN0359 source code.

but, when i right-click on cstddef and choose Open Declaration

please let me know what wrong

Thank all !

Parents
  • 0
    •  Analog Employees 
    on Jun 23, 2016 6:06 AM

    Hi ,

    As I already said your project does not respect the ADuCM36x template format. The available CN0359 software package was not developed based on the project structure provided by ADuCM36x template. So you will need to adapt it if you want to use this.

    To do this please check our documentation regarding ADuCM360 IDE:

    1. Tool Chain Setup User Guide [Analog Devices Wiki] - here you can find the possibilities for creating a new project (keep in mind that the CN0359 have .c and .cpp source so you will need to use C++ template).

    2. Reference Designs [Analog Devices Wiki] - here you can find our existing projects for  EVAL-ADICUP360 board in order to check the project structure (in your project all files from CN0359 are in src folder). The ADuCM360_demo_cn0338 project is a C++  project.

    3. The ADuCM36x template already contain the startup,  reset, exception handler, system clock configuration and vector table. So those parts should not be taken from CN0359 project.

    Regarding your question about cstddef.h header: it is an GCC system header which comes with GCC. You have it added manually in the scr folder. This is not necessary.

    Regards,

    Veronica.

Reply
  • 0
    •  Analog Employees 
    on Jun 23, 2016 6:06 AM

    Hi ,

    As I already said your project does not respect the ADuCM36x template format. The available CN0359 software package was not developed based on the project structure provided by ADuCM36x template. So you will need to adapt it if you want to use this.

    To do this please check our documentation regarding ADuCM360 IDE:

    1. Tool Chain Setup User Guide [Analog Devices Wiki] - here you can find the possibilities for creating a new project (keep in mind that the CN0359 have .c and .cpp source so you will need to use C++ template).

    2. Reference Designs [Analog Devices Wiki] - here you can find our existing projects for  EVAL-ADICUP360 board in order to check the project structure (in your project all files from CN0359 are in src folder). The ADuCM360_demo_cn0338 project is a C++  project.

    3. The ADuCM36x template already contain the startup,  reset, exception handler, system clock configuration and vector table. So those parts should not be taken from CN0359 project.

    Regarding your question about cstddef.h header: it is an GCC system header which comes with GCC. You have it added manually in the scr folder. This is not necessary.

    Regards,

    Veronica.

Children
No Data