This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Creating a new project under Eclipse from scratch

I'm new to Nordic devices and tools. I have experience with Eclipse but I was wondering if there is a guide to help with the creation of a brand new project under Eclipse. I installed CDT and GDB for Eclipse but I don't see how eclipse is pointing to ARM tool set when I click New, Looks like I have to manually edit Cross GCC Compiler settings to point to ARM stuff. I'm sure this is correct but I'm afraid this will take a long time and I may find out this is the wrong way. A guide would save me some precious time.

Please let me know.

Thanks, GIL

Parents
  • Hello, Andrejs.

    1. I can not understand 7. paragraph? Could you put some pictures of configuration how to do it ?

    Here is some screens in attachment, showing how to create linked folder and how to exclude unnecessary files from build. In my case I put the SDK files (Source and Include) in my Eclipse workspace in folder \lib\Nordic_5.1

    1. And why I can not choose target processor in C/C++ Builder -> Settings (attached picture)

    Looks like you chose the wrong type of project when you created it. Make sure you created it like this: File -> New -> C project Enter project name. In the window that appears in "Project type:" field select line "Empty Project" in folder "Executable". Then in right field "Toolchains:" select Cross ARM GCC. THen press next -> next -> select toolchain name "GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc)" and path to toolchain for example "C:\Program Files\GNU Tools ARM Embedded\4.8 2013q4\bin"

    Linked folder.rar

Reply
  • Hello, Andrejs.

    1. I can not understand 7. paragraph? Could you put some pictures of configuration how to do it ?

    Here is some screens in attachment, showing how to create linked folder and how to exclude unnecessary files from build. In my case I put the SDK files (Source and Include) in my Eclipse workspace in folder \lib\Nordic_5.1

    1. And why I can not choose target processor in C/C++ Builder -> Settings (attached picture)

    Looks like you chose the wrong type of project when you created it. Make sure you created it like this: File -> New -> C project Enter project name. In the window that appears in "Project type:" field select line "Empty Project" in folder "Executable". Then in right field "Toolchains:" select Cross ARM GCC. THen press next -> next -> select toolchain name "GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc)" and path to toolchain for example "C:\Program Files\GNU Tools ARM Embedded\4.8 2013q4\bin"

    Linked folder.rar

Children
Related