Hello,
I am new to STM32 and RTX, and i am following the example: Modify the device startup file to enable SWI_Handler function: Comment out the following line from the startup file: SWI_Handler B SWI_Handler
Add the following line to the startup file: IMPORT SWI_Handler
But this line is not present in the startup file STM32F10x.s
What do i need to do?
Kasper
Hello Reppy Repzak,
A task needs always an endless loop. Without it get started and finishes at once. Create your task2 like:
void task2 (void) __task { while (1) { /* endless loop */ cnt++ ; /* increment counter */ os_dly_wait (10); /* wait for timeout: 10 ticks */ } }
Best Regards, Martin Guenther
Thanks...
I acutallu have readed that, strange they do not include in their examples.. maybe to keep them simple