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

Compiling nrf51 SDK 7.2.0 blinky blank example with Eclipse+GCC

Hi,

I am having a nRF51 DK(PCA10028) development kit. I am trying to run blinky example on this development kit using Eclipse+GCC environment. I am following nAN-29 application note for compilation.

I have downloaded nRF51 7.2.0 installer pack from link developer.nordicsemi.com/.../nRF51_SDK_7.2.0_cf547b5.zip

I am using GNU version 4.9.3. I am also using latest version of make and core utility.

I am trying to compile blinky example located at "C:\nRF51_SDK_7.2.0_cf547b5\examples\peripheral\blinky" path using make file located at "C:\nRF51_SDK_7.2.0_cf547b5\examples\peripheral\blinky\pca10028\blank\armgcc" path. Also edited Makefile.windows as per nAN-29 guide. I am creating new prooject using "Makefile project using existing code" option in eclipse.

I am getting following error during compilation.

---> **** Build of configuration Default for project blinky ****

make -f makefile all makefile:110: *** Recursive variable `remduplicates' references itself (eventually). Stop.

**** Build Finished **** <---

I followed same procedure on nRF51 SDK 6.1.0 and atleast compilation was working. It seems to be issue in the Makefile.

Should I change anything in the Makefile to make it working? Any help is welcome..

Related