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

FreeRTOS with RTT

I am building the ble_app_hrs_freertos example code for a pca10040 dev board located in the SDK 12.2 at: nRF5_SDK_12.1.0_0d23e2a/examples/ble_peripheral/ble_app_hrs_freertos

I have the following 2 RTT macros define:

Makefile - NRF_LOG_USES_RTT=1 sdk_config.h - NRF_LOG_BACKEND_SERIAL_USES_RTT 1

I get the RTT logs through the debugger for a bit and then hit a hard_fault. I have no problems with RTT for non-FreeRTOS builds. Anyone have success with RTT logging within a FreeRTOS build?

Related