All stm32% but stm32f1 RTT are based on a 16 bit LPTIM, if using the default 32768KHz configuration TICKS_TO_WAIT will overflow
Expected result
When everything works as expected, you should see a hello message popping up every 5 seconds.
Background
Test for the low-level RTT driver.