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.

  • I'm very concerned as each time I try to compile (without changing anything) I am getting different compile errors each time. I mitigate this I tried compiling from the command line, but I'm now getting the old " 'make' is not recognized as an internal or external command, operable program or batch file" which was not the case when compiling earlier today. Again I haven't touched the PATH System Variable path. Just to double-check everything:

    1. I added the follow paths to the PATH system variable: ;C:\Program Files (x86)\Nordic Semiconductor\nrf51\bin
      ;C:\Program Files (x86)\GnuWin32\bin ;C:\Program Files (x86)\GNU Tools ARM Embedded\4.8 2014q2\arm-none-eabi\bin

    2. C/C++ Build\Builder Settings - set the Build Command to"make , and set the Build director to path to project \gcc folder

    1. C/C++ Build\Behaviour - set Build (Incremental build) inline text field to debug

    2. C/C++ Build\Build Variables - none

    3. C/C++ Build\Enviroment - Added MAKE with a path to C:\Program Files (x86)\GnuWin32\bin Added PATH from System Variables

    4. C/C++ Build\Toolchains - set to GNU Tools for ARM Embedded Processors (arm-none-eabi-gcc) with the Global path set to C:\Program Files (x86)\GNU Tools ARM Embedded\4.8 2014q2\arm-none-eabi\bin

    5. C/C++ Build\Tool Chain Editor - set Current toolchain to Cross Arm GCC , set Current builder to "Gnu Make Builder"

    1. C/C++ General\ Path and Symbols\Include - Manually includes the following: C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\ble\device_manager C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\ble C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\ble\ble_services C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\ext_sensors C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\gcc C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\s110 C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\app_common C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\sd_common C:\Nordic Semiconductor\nrf51 SDK Version6_1\nrf51822\Include\sdk C:\Program Files (x86)\GNU Tools ARM Embedded\4.8 2014q2\arm-none-eabi\include C:\Program Files (x86)\GNU Tools ARM Embedded\4.8 2014q2\arm-none-eabi\include\c++\4.8.4 C:\Program Files (x86)\GNU Tools ARM Embedded\4.8 2014q2\lib\gcc\arm-none-eabi\4.8.4\include-fixed C:\Program Files (x86)\GNU Tools ARM Embedded\4.8 2014q2\lib\gcc\arm-none-eabi\4.8.4\include
  • Beyond this I've completed all the steps from nAN-29 v1.1 When compiling from Eclipse I get the follow errors: Program "arm-none-eabi-g++" not found in PATH Program "arm-none-eabi-gcc" not found in PATH Program "make" not found in PATH

    And as mentioned, when trying to compile at the command line I get: 'make' is not recognized as an internal or external command, operable program or batch file.

    I really hope someone can help me out. If this takes much longer I may have to cancel the whole project. Thanks guys.

  • Its working now. Somehow the Path environment variable kept getting erased. Got that along with debugging working now. Now its time to code like a mad man to make up for the lost time. Again thanks for everyones help

Related