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

nAN-29 - nRF51 SDK no project files

Hi,

Following the AN 29 "nRF51 Development with GCC and Eclipse v1.1", I cannot import any project on Eclipse for nRF51822:

In step 1.2 "Import existing Eclipse project" there is just a Makefile in gcc folder. And in Blinky example there is just build.bat, flash.bat and a makefile. In step 2 i cannot selct a _build folder because it is not there.

I already installed the SDK different times and on different computers.

Where can I find the project files described in the nAN-29?

Thanks for help,

biomech

Parents
  • Hi Marco,

    Currently, in the nRF51 SDK, there is only one project that has Eclipse project file, which is the ble_app_hrs. However you can easily create a project for any example using Eclipse. Click on File -> New -> Project... -> C/C++ -> Makefile Project with Existing Code. After that you select the project folder you want to work it. Some modification needed in the property of the project after you create it:

    • In tab C/C++ Build the build directory should point to gcc folder, if the project name is blinkyEclipse the build directory should be: ${workspace_loc:/blinkyEclipse}/gcc
    • in tab C/C++ General -> Path and Symbols -> GNU C : include directories should be added.

    Please refer to the ble_app_hrs project file, or the blinky example I attached here.

    It should be noted that, Eclipse is used only for editing the code, not for compiling or flashing. We use command line tools: gcc (makefile) for compiling and nrjprog for programming.

    blinky_example - Eclipse.zip

  • I have the same problem. Eclipse says no projects are found to import. I also tried with your blinky_example - Eclipse . Makefile is there!

Reply Children
No Data
Related