With STM32 (Cortex M3)...
when I execute this, the RTX jumps to HardFault_Handler in STM32F10x.s
if(os_evt_wait_or(flag1 | flag2 | flag3 | flag4, 15) == OS_R_EVT) { bla bla bla }
I don't know what to do.
Hi, can you post some more informations? Where is it called, from a "normal" function or an ISR? Do other RTX-functions fail too?
I have found my problem. One of my tasks had no inifite loop. Strange but that was the cause of my problem.
Thanks.
Thats one of the main problems when I started writing apps with RTX: The root cause of a problem is often not there, where the problem itself appears.