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

How to set up GCC and Eclipse for development on the beacon kit

Hi,

I am looking to select a bluetooth chip for a new project, one of the criteria is access to free development tools. I see that in the SDK GCC is supported. But: how do I set this up? Is there some guidelines or user manual? And what is this soft device? Is there a step by step tutorial or something to get started? I would like to start off from the beacon example, and from there on add things, like communication to an SPI device from the microcontroller.

Any help is very welcome, find it very difficult to find an entry point...

Parents
  • This blog post here is full Eclipse GCC on OS X. Contains example project created with Eclipse also include iOS source code for each examples. Current Eclipse is Mars. Luna is not recommended. http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html

  • I think I might have confused you: I did set the workspace in Eclipse as you discussed, so to the nRF51 directory. What I meant was, where should I put the source tree. I tried now to start completely from scratch, so:

    • check out the repository from Github
    • copy the downloaded CMSIS and nRF SDK to the position in the source tree as you suggested
    • select the nRF51 directory as workspace directory
    • imported existing projects.

    On each of the projects, a warning is given on the includes directories; however, when I try to compile the CMSIS library, it does compile it properly, so the makefile does find the paths, and they are expanded correctly. So the problem is in Eclipse really. I read some things about the colon (:) working fine on Windows, but not in Linux. On what system did you develop this? I was guessing also on Mac, as you seemed quite knowledgable about this? I also read something about paths which are outside the tree of the workspace - the CMSIS directory is like that - that that might give problems. Any ideas?

Reply
  • I think I might have confused you: I did set the workspace in Eclipse as you discussed, so to the nRF51 directory. What I meant was, where should I put the source tree. I tried now to start completely from scratch, so:

    • check out the repository from Github
    • copy the downloaded CMSIS and nRF SDK to the position in the source tree as you suggested
    • select the nRF51 directory as workspace directory
    • imported existing projects.

    On each of the projects, a warning is given on the includes directories; however, when I try to compile the CMSIS library, it does compile it properly, so the makefile does find the paths, and they are expanded correctly. So the problem is in Eclipse really. I read some things about the colon (:) working fine on Windows, but not in Linux. On what system did you develop this? I was guessing also on Mac, as you seemed quite knowledgable about this? I also read something about paths which are outside the tree of the workspace - the CMSIS directory is like that - that that might give problems. Any ideas?

Children
No Data
Related