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
  • Oh, I did try making an issue but saw no response. Should've emailed my bad. Also, I thought this was more of a toolchain setup issue than something specific to this project. Anyway, I figured out 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.
Reply
  • Oh, I did try making an issue but saw no response. Should've emailed my bad. Also, I thought this was more of a toolchain setup issue than something specific to this project. Anyway, I figured out 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.
Children
No Data
Related