I am trying to run the peripheral_uart example on a custom nrf52833 board and the RTT logs get interrupted with corrupted output unless a long sleep is placed after bt_enable(NULL).
This is the corrupted output:
The only place I could find a similar error was in this post where the identity line was also interrupted with a "0m[0m" however the post didn't focus on this error.
After doing some searching I found this post where they found adding a 1ms sleep changed the logging behaviour however I required a much longer sleep than 1ms to get the intended behaviour in my case.
When I add a 10000msec sleep after calling bt_enable(NULL) I get the intended logging behaviour:
Any idea what is causing this and any idea to fix it without using such a long sleep.