Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is SEGGER_RTT_printf() thread safe with FreeRTOS?

Hey Guys,

I have 3 tasks running on FreeRTOS, SDK v14.0.0.  In each task, I want to use SEGGER_RTT_printf() to debug.

I currently just call SEGGER_RTT_printf() without any semaphores or mutexes, but I assume this is a bad idea.

Should I be grabbing a semaphore or mutex before using RTT and then giving it back afterwards?  Thanks.

Parents Reply Children
No Data
Related