This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting started with Eclipse Luna

I just starting out trying to get an Eclipse dev environment up and running. I've tried following nAN-29 but it seems out of date. The issues I run into are:

  1. CDT Main Features - I've downloaded this but it does not appear under Eclipse > Debug Configuration

  2. I don't know where to download the GDB Hardware Debugging?

  3. The does not seem to be an active repository link on the eclipse site for Luna, so I don't know what link to use. According to the nAN-29 the old link was "download.eclipse.org/.../juno"

Thanks for the help guys.

  • Easier to start with Eclipse here embeddedsoftdev.blogspot.ca/.../... then view the specific page on the blog site for nRF51 project creation. nAN-29 does not work.

  • Thanks for helping guys, I've made some progress today but still cannot get to the point where I can build example projects successfully. I've followed 3 different methods to set up the environment and tools, but none seem to be working for me thus far. Perhaps things aren't working because of Windows 8.1?

    Nguyen - Thanks for the blogspot link. I followed this method and got to the point where I had to setup the Cross ARM C Linker. Unfortunately it does not appear in Eclipse under project Properties -> C/C++ Build -> Settings -> Tool Settings for me. Only a Cross ARM C++ Linker is available. Something has gone wrong somewhere resulting in this C Linker being missing.

    Håkon - I followed the blogpost, but in step 1) at the command line for building and downloaded an example project I got an error stating " 'make' is not recognized as an internal or external command, operable program or batch file". Even though I had added 'make' as a system variable with a path to GnuWin32\bin.

    Also though I added the embsysregview as stated in pg3 of the nAN-29 document, there was still no /org.eclipse.cdt.embsysregview folder under C:\Program Files (x86)\eclipse\plugins. After a file search I found that apparently a /.eclipse folder was created in another directory. I just copied it over to my current eclipse folder.

    Could I open this issue on the Support Port to get a call with Nordic to assist in setting this up, or is direct support for Eclipse development outside the scope of the Support portal? As always thanks so much for the help guys.

  • Probably you didn't set the PATH to your compiler. You can manually set compiler the project settings. Select Toolchains tab. I can't attach an image in comment so I edit and attached image to my previous answer. also see here for more explanations gnuarmeclipse.livius.net/.../

  • Thanks alot, got this working now!

    Now I just have to setup debugging which is another can of worms. Thanks for your help everyone

  • In trying to get debugging up and running I seem to have broken my project. I can no longer compile and get the following errors: Program "arm-none-eabi-g++" not found in PATH Program "arm-none-eabi-gcc" not found in PATH

    I haven't touched the Path - build variable nor the PATH - environment variable. Also did not change the filepath set for the GNU Toolchain (under C/C++ Build\Settings\Toolchains). Is Eclipse really this finicky? Its odd that playing with the Debug Configuration should have any effect on regular project building? Unfortunately I'm not at 2 weeks without a stable project to develop on :(

Related