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

Command line Make example project for nRF52 DK

I'm trying to build the "blinky" example found in nRF5_SDK_15.3.0_59ac345/examples/peripheral/blinky/pca10040e/blank/armgcc

Actually the pca10040e directory contains 'blank' and 'mbr' directories, I just went with blank but I've no idea what the difference is and which I should be using. I went with 'blank' and tried a 'make' command. Everything compiled but the linker is missing a library. I've installed both the  nRF5_SDK_15.3.0 and s132 packages but searching my machine and there's no occurrences of either libc_nano* or libg_nano. I'm not sure if those libs are target, as in Nordic nRF52 specific or arm specific, in which case they should have been installed with my arm-none-eabi-gcc packages?

/usr/lib64/gcc/arm-none-eabi/7/ld: cannot find -lc_nano
/usr/lib64/gcc/arm-none-eabi/7/ld: cannot find -lg_nano
/usr/lib64/gcc/arm-none-eabi/7/ld: cannot find -lc_nano

So should I be making in 'blank' or 'mbr' and where should I install libs from?

Parents Reply Children
No Data
Related