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

nordic project in eclipse

Makefile.windowsimage descriptionCapture.PNGhello i am trying to make nordic project in eclipse. for that iam following this tutorial. https://devzone.nordicsemi.com/tutorials/7/

i am following this section. Create a new Eclipse project

after i build my project. i am getting error in make file like

Description	Resource	Path	Location	Type
make: *** [all] Error 2	blinky		 	C/C++ Problem
make[1]: *** [_build/system_nrf51.o] Error 2	blinky		 	C/C++ Problem
recipe for target '_build/system_nrf51.o' failed	Makefile	/blinky	line 133	C/C++ Problem
recipe for target 'all' failed	Makefile	/blinky	line 97	C/C++ Problem

can anyone help me how to solve it??

Parents
  • i followed just three steps. (1) Start Eclipse, enter file -> new Makefile project with existing code in the menu bar. Name your project and browse the directory of your Makefile. Click finish once you are done. (2)Open and edit the SDK makefile to support debugging of your code. Locate the CFLAGS variables, and change ‘-O3’ to '-O0' for debugging to produce expected results (stack variables loaded directly to CPU registers,etc). Then add '-g3' to CFLAGS to include debug symbols in the .out file (GNU manual). (3)Configure the build settings and build the project, see the instructions from the Import existing Eclipse project to workspace section above and verify that there are no build errors before moving on to the next step.

Reply
  • i followed just three steps. (1) Start Eclipse, enter file -> new Makefile project with existing code in the menu bar. Name your project and browse the directory of your Makefile. Click finish once you are done. (2)Open and edit the SDK makefile to support debugging of your code. Locate the CFLAGS variables, and change ‘-O3’ to '-O0' for debugging to produce expected results (stack variables loaded directly to CPU registers,etc). Then add '-g3' to CFLAGS to include debug symbols in the .out file (GNU manual). (3)Configure the build settings and build the project, see the instructions from the Import existing Eclipse project to workspace section above and verify that there are no build errors before moving on to the next step.

Children
No Data
Related