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

nrf51-ble-app-lbs

Since there is no examples folder with Keil 5.14 anymore, where do you place this repository so the links work? Trying to fix all the directory structures is very painful and is resulting in many errors during compiling. I have a folder structure (Windows 7) with Nordic\nrf51822 and I just need to know the best place to place the directories for this. Or can someone make a new repo that has all the linking setup correctly?

This no longer exists: "To compile it, clone the repository in the [SDK]/examples/ble_peripheral folder."

github.com/.../nrf51-ble-app-lbs

Parents
  • Which one would you recommend? I have tried including all the files and folders so the linking is all correct now. I am getting tons of errors still though. See below. Does anyone have a simple example that has all the files in the project instead of linking to different directories? I have a feeling it is linking to previous SDK versions on accident.

    ave tried

Reply
  • Which one would you recommend? I have tried including all the files and folders so the linking is all correct now. I am getting tons of errors still though. See below. Does anyone have a simple example that has all the files in the project instead of linking to different directories? I have a feeling it is linking to previous SDK versions on accident.

    ave tried

Children
  • @wojc0008: You can download the SDK .zip file here And simply unpack it, and you will have the folder structure needed to compile the lbs project. You don't need to unpack it to KEIL folder. Don't forget to match the project with the SDK version. (nrF MDK v7.2.0 is recommeded to use with KEIL v5.14)

  • Why is the "nrf51-ble-app-lbs" not included in the examples? Or am I not finding it? I can compile all the other examples just fine but if I place the "nrf51-ble-app-lbs" in the folder "\examples\ble_peripheral" I still get errors. Has anyone been able to get this to compile? This should be so simple I figured it would be in the SDK examples but it is missing. I have added the GCC folder to the includes to remove the CM0 error.

    Now I get the following errors:

    ._build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_event_disable (referred from app_button.o).

    ._build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_event_enable (referred from app_button.o).

    ._build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_init (referred from app_button.o).

    ._build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_is_set (referred from app_button.o). ._build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_init (referred from app_button.o). ._build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_is_init (referred from app_button.o).

  • A local Nordic employee helped me get this rocking now. Thanks for also helping. Great to know there's good support around. I am now moving forward and have my custom PCB working very well now with LEDs and PWMs. Buttons and the DFU are the last two things to get working.

  • What was the solution the Nordic employee gave you in the end? I am stuck trying to get the same thing going. I've unzipped to C:\Keil_v5\ARM\Pack\NordicSemiconductor\nRF_Examples\8.0.0\ble_peripheral\nrf51-ble-app-lbs-SDKv8.0 Loading and trying to build this results in a raft of errors caused by broken links. I tried copying to my own projects folder C:\Projects\firmware\nRF51\nrf51-ble-app-lbs-master and then selected applicable software packs (though I don't know what versions to use of each, for example do I use RF libraries v 2 or 3?) and this did not work...

  • I have the very same issue. This is really getting frustrating. No matter what you try, there's always a new set of errors. Can anyone please post a step-by-step explanation how to make this work?

Related