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

Problem buiding the tutorial "A beginner's tutorial: Advertising"

I am trying to build the project which I downloaded from github for the "A beginner's tutorial: Advertising" but I get errors for missing files when I try to build it both in Keil and Segger IDEs.

I know that this tutorial was written for nRF51 and SDK 11. However, I was hoping to be able to run it with nRF52 and the newest SDK which is Ver14.1. Am I wrong about that?

I used "Download Zip" button with github.com/.../nrf51-ble-tutorial-advertising.git.

Then I copied the whole folder here: C:\Users\Owner\Desktop\nRF_SDKs\examples\ble_peripheral\nrf5-ble-tutorial-advertising which does include the main.c file.

I tried building from main.c as well as C:\Users\Owner\Desktop\nRF_SDKs\examples\ble_peripheral\nrf5-ble-tutorial-advertising\pca10040\s132\arm5_no_packs as I am trying to use S132 softdevice but both failed.

Any help would be appreciated. BTW, I am able to build the SDK built-in examples.

Parents
  • Thanks Superpak. I couldn't find \examples\ble_peripheral\ble_app_blinky in SDK14 but I found examples\ble_peripheral\ble_app_beacon\ble_app_blinky. There I found \pca10040\s132\arm5_no_packs\ble_app_blinky_pca10040_s132.uvprojx and tried to build that but I failed again. It only complains that boards.c is missing but I can see that other files are missing as well.

    I did manage to instead build

    \examples\ble_peripheral\ble_app_beacon\pca10040\s132\arm5_no_packs\ble_app_beacon_pca10040_s132.uvprojx
    

    but I don't think it's similar to the tutorial I was following. I'm saying this because for example, it does not advertise the device name or RSSI.

  • You can mark the answer as accepted if it worked! Thanks :)

Reply Children
No Data
Related