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

Cannot compile NRF51 Samples

I was compiling a project(ble_app_uart and I am using PCA10028), it was not successful and KEIL5 display this: image description it looks like I didn't install NordicSemiconductor.nRF_DeviceFamilyPack.8.11.1.pack according to the message (in fact, I already installed NordicSemiconductor.nRF_DeviceFamilyPack.8.15.0.pack). Then I downloaded NordicSemiconductor.nRF_DeviceFamilyPack.8.11.1.pack from KEIL and complied it again, it was still not successful, and KEIL5 display this: image description it looks like 8.11.1 pack is not suitable for my board? how can I fix this problem? Thanks a lot!

Parents
  • Hi Summer!
    Could you open the "Pack Installer" in Keil and verify that the Device Family Pack is installed?
    Also, on a general note;
    Your project location is causing the path to be very long. You should try to install the SDK as close to the drive base folder as possible. i.e C:/nordic/sdk_xxx. This is too avoid the max path lenght (247char) as this might cause the examples not to compile. Also try to avoid white spaces in folder names etc.
    Best regards,
    Joakim.

Reply
  • Hi Summer!
    Could you open the "Pack Installer" in Keil and verify that the Device Family Pack is installed?
    Also, on a general note;
    Your project location is causing the path to be very long. You should try to install the SDK as close to the drive base folder as possible. i.e C:/nordic/sdk_xxx. This is too avoid the max path lenght (247char) as this might cause the examples not to compile. Also try to avoid white spaces in folder names etc.
    Best regards,
    Joakim.

Children
No Data
Related