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

nRF52 FreeRTOS using the S132 SoftDevice

Is there are working example of FreeRTOS running on the nRF52 using the S132 SoftDevice? I am trying to get a ble_hrs example running with a updated version of the FreeRTOS portable layer I was provided by my Nordic Sales contact but it's not working.

I am using nRF52 SDK 0.9.2 and SoftDevice s132 1.0.0-3 alpha on PCA10040. The ble_hrs FreeRTOS example I used is from the nRF51 SDK version 10.0.0 and I think I am missing something since it runs fine when complied for the nRF51.

Thank you in advance, Darren

Parents Reply
  • monpetit,

    I found a some additional locations that also required the above changes, see below.

    in bsp.c

    #if defined(FREERTOS)
    APP_TIMER_DEF(m_button_timer_id);
    #else
    static app_timer_id_t m_button_timer_id;
    #endif
    

    in app_button.c

    #if defined(FREERTOS)
    

    APP_TIMER_DEF(m_detection_delay_timer_id); /**< Polling timer id. */ #else static app_timer_id_t m_detection_delay_timer_id; #endif

    in ble_conn_params.c

    #if defined(FREERTOS)
    

    APP_TIMER_DEF(m_conn_params_timer_id); /**< Connection parameters timer. */ #else static app_timer_id_t m_conn_params_timer_id; #endif

Children
No Data
Related