i get a error 161, but i don't use any software Timers.
and the only OS-functions which i call in the ISRs are "OS_SignalEvent() ; OS_EnterInterrupt() and OS_LeaveInterrupt().
i use a MSP430F2618 and the 3 tasks are for communicating with another uC over spi.
the Error occurs while calling OS_free after a few times (not in the ISR)
i always use OS_malloc before OS_free.
The Error is: OS_ERR_ILLEGAL_IN_TIMER -> " Illegal function call in an interrupt service routine:A routine that may not be called from within a software timer has been called from within a timer."
what could be the Problem?
Thank you for any help.
gringo
and the only OS-functions which i call in the ISRs are "OS_SignalEvent() ; OS_EnterInterrupt() and OS_LeaveInterrupt().
i use a MSP430F2618 and the 3 tasks are for communicating with another uC over spi.
the Error occurs while calling OS_free after a few times (not in the ISR)
i always use OS_malloc before OS_free.
The Error is: OS_ERR_ILLEGAL_IN_TIMER -> " Illegal function call in an interrupt service routine:A routine that may not be called from within a software timer has been called from within a timer."
what could be the Problem?
Thank you for any help.
gringo