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

Adding RTX support to an existing BLE central project

2017-12-07 22_28_04-D__Users_Eyal_myWorkspaces_KeilMDK_ble_peripheral_ble_app_hrs_rtx_pca10028_s130_.png

Hi,

I've developed a BLE Central app based on the SDK HRS collector example (ble_app_hrs_c_s130_pca10028).

I would like to add RTX support to the project. I've tried to clone the only example in the SDK (ble_app_hrs_rtx_s130) I could find.

I added ThirdParties>RTOS>RTX from the TRE manager but I still have two dependencies which I can't resolve (None:Device:nrf51:NordicSemiconductor & None:ram_start:NordicSemiconductor2.0.0-2.alpha). See attached screenshot

Where can I get these two dependencies from? Is there any guideline as how to add RTX support to an existing BLE application ?

Thanks

image description

  • Hi,

    Based on the screenshot you added, it seems like you are using CMSIS pack(Manage Run-time Environement is a CMSIS packs feature). As of SDK 11.0.0 the pack system is deprecated. The reason is explained in this blog: Deprecating support for CMSIS Pack in nRF5 SDK. The SDK is now delivered as a .zip archive. The latest SDK version that support the nRF51-series is SDK 12.3. You can download this SDK from this link. Download and extract the archive, and you can find the ble_app_hrs_rtx example in the folder SDK12_3_folder\examples\ble_peripheral\ble_app_hrs_rtx.

    Note that RTX is not very much supported in our SDK (only nRF51 support in SDK 12.x, and completely removed support in SDK 13 with removal of nRF51 support). Based on this, and if you really need a RTOS, I would suggest looking into FreeRTOS or Zephyr instead.

Related