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

Compiling GitHub examples

Hi!,

I'm trying to compile GitHub examples, for example this github.com/.../nrf51-ble-tutorial-service

I cloned it into nRF5_SDK_12.1.0_0d23e2a/examples/peripheral. But I get a compilation error.

 javi@PC:~/Development/Nordic/nRF5_SDK_12.1.0_0d23e2a/examples/peripheral/nrf51-ble-tutorial-service/SDK11.0.0/nrf5-ble-tutorial-service/pca10028/s130/armgcc$

 make 

 rm -rf _build 

 echo  Makefile

 Makefile 

 mkdir _build 

 make: *** There is no rule to build the target  '_build/app_button.o', neccesary for 'nrf51422_xxac_s130'. 

 Stop.

I changed this line in Makefile TEMPLATE_PATH = ../../../../../../components/toolchain/gcc by this other TEMPLATE_PATH = ../../../../../../../../components/toolchain/gcc

I have the same error with other examples. I have to use SDK_11.0 to compile these examples?

Best regards

Parents Reply Children
No Data
Related