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

Any tips importing this Eclipse/GCC project?

I've been trying to import this NRF51 Eclipse project for a few days now, but no success.

github.com/.../HomeKit

I've tried to closely follow the steps outlined in this tutorial, but it just wont compile.

devzone.nordicsemi.com/.../

The problem I run into is that Eclipse can't seem to find all the headers from the SDK. I know for sure this compiles with nRF51 SDK 9.0. But these eclipse projects dont see very portable, there are local paths with user names in the project. Any pointers would be appreciated.

Should I just start with an empty project and start adding individual source files?

Parents
  • Sorry, this has nothing to do with the official nRF51 HomeKit SDK. This project is meant specifically for hobbyists who don't have an MFI license.

    I kinda figured out my mistakes and now I'm able to build. Still gotta figure out how to merge the Softdevice and application together. Here are my mistakes:

    1. I was importing the project with copy to workspace checked, which messed up the relative paths to the SDK headers.
    2. I don't really need the Eclipse build to succeed, looking at the the Console tab, I realized the .hex output was being generated.

    In general I want to make this project a little easier for beginners, can something like this be imported/converted into the MBED online compiler project or perhaps even the Arduino core from RedBearLab? It'd be great to have someone try this out without having to setup ECLIPSE/gcc.

Reply
  • Sorry, this has nothing to do with the official nRF51 HomeKit SDK. This project is meant specifically for hobbyists who don't have an MFI license.

    I kinda figured out my mistakes and now I'm able to build. Still gotta figure out how to merge the Softdevice and application together. Here are my mistakes:

    1. I was importing the project with copy to workspace checked, which messed up the relative paths to the SDK headers.
    2. I don't really need the Eclipse build to succeed, looking at the the Console tab, I realized the .hex output was being generated.

    In general I want to make this project a little easier for beginners, can something like this be imported/converted into the MBED online compiler project or perhaps even the Arduino core from RedBearLab? It'd be great to have someone try this out without having to setup ECLIPSE/gcc.

Children
No Data
Related