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

Building a project developed on nrf connect SDK 0.3.0

Hello All,

Working in lift industry, I recently recovered a BLE project developed by an ex-colleague running on LairdBL651 using with nRF connect SDK 0.3.0 (nrf52810, Segger 4.18).
The solution works, I need to modify the source code for some new needs. But I couldn’t find the right configuration to re-build the project on Linux os (ubuntu 20.04.2)
The specific parameters we need for this project are :
• CLOCK_CONTROL_NRF5: RC Oscillator
• BT_PERIPHERAL_PREF_MIN_INT: 10
• BT_PERIPHERAL_PREF_MAX_INT: 20
• BT_CTLR_ADVANCED_FEATURES: Activer
• BT_CTLR_PHY_2M: Activer
• SPEED_OPTIMIZATIONS: Activer

I tried to build the project using nrf connectSDK V1.5.0 : I opened an nRF Connect SDK (choosing bl652_dvk), the project wouldn’t open due to configuration errors :CONFIG_CONSOLE_HAS_DRIVER. The config parameters are handled in the file prj.conf.

I wish your help to find the right configuration ( installation, versions, dependencies) to correctly build this project please,

I join you the project in question,

Thank you for you time and help and wish you a great weekend,

Sincerly,

Farouk,


laird-bl651.zip

  • Hi Jonathan,

    Thank you for your help,

    I did not succeed building the project with the newest releases yet,

    Regards,

    Farouk

  • I am able to "build" the project in NCS v1.5.0, but there have been so many changes since v0.3.0 that results in many errors. 

    CONFIG_BT_GATT_NUS is not in use anymore (re-named) and CONFIG_BT_CTLR_PHY did not work as intended. So there are a loot of changes that make the old code full of errors.
    BT_CONN_TX_MAX has new legal values between 2 and 255 so 1 is no longer usable. 

    #include <drivers/gpio.h> and #include <drivers/uart.h>  and more has changed so it is quite the rework. I was not able to build it successfully  with v0.3.0 either for the time being. 

    Regards,
    Jonathan
Related