Forum Discussion
Altera_Forum
Honored Contributor
15 years agoOk. I use HAL driver with ucOS, then I understand this is actually safe.
Before, I did some experimental tests, as you suggested, but since my printf were minimal, I couldn't test long enough to be sure the problem would never appear when the board operates for an indefinite period of time. The debug_print macro was exactly what I thought to implement in case there could be problems, but I wanted to avoid searching and replacing the printf all around the code. Thank you