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

Build option not available on Blinky

I have installed and un-installed all the required components to run the dev kit with eclipse. As everyone knows this is complicated because there are multiple sources of instructions of different ages that sometimes conflict with each other or assume things like Kiel dev environment etc.

The bottom line is after following the GNU Eclipse MCU Install on github completely I am lost. I get up to the 'Check/set the global tools paths' which has you open Eclipse preferences and select C/C++ > Build > Global Tool Paths but 'Global Tool Paths' does not exist.

If I skip that step and try to run Blinky example, the Build option is missing on the project.

Can anyone provide some direction to me?

  • Hi,

    Have you installed the required plug-ins, and restarted eclipse? See this link.

    Note that I would strongly recommend to try out Segger Embedded Studio instead of Eclipse. Segger Embedded Studio is a royalty-free IDE with no code limit, and is specifically designed for embedded development. I suggest that you take a look at our Segger Embedded Studio blog post here to get started.

  • For anyone else running across a similar problem to this here is what the problem was. The required toolchains were not installed so there was no build capability available. Hence, it was not displayed.

    As far as could tell after diligently following the installation routines, they do not show that you need to or how to load the toolchains into Eclipse. The page I followed was gnu-mcu-eclipse.github.io/.../ which does not mention the necessary step.

    To get it to work I had to go to help->install new software in Eclipse. Then I had to select the mcu toolchain folder to install them. This failed due to the mcu hardware plug in missing which I had to find and install first.

    Nordic was kind enough to answer my question and suggest I move off of Eclipse and instead run Segger Embedded Studio also. I plan on checking out that IDE to see what it has to offer also. (Thank you Nordic).

  • The toolchains is a separate package to install independently of Eclipse and so is OpenOCD. In resume there are 3 thing to install : the plugins, the compiler and the OpenOCD or the JLink software. The reason you can't use the build option is that because Nordic does not provide Eclipse project but a makefile. Follow this blog for Native Elcipse project for nRF5x.

Related