I am having issues creating an event. Here is my code:
void *event_ptr;
_event_create("event.global");
I keep getting a hard fault exception whenever _event_create() is called. It used to work earlier but it suddenly started throwing an error. I also noticed that calling _event_create from another source file works sometimes which is very strange. Could it be related to the stack size?
Thanks,
Priya
Hello Priya,
- Under the KSDK1.2 installation directory , there is a even demo , have you test it , does it can work well on your side :
...\Freescale\KSDK_1.2.0\rtos\mqx\mqx\examples\event
- And where do you create the event ? Please pay attention that , the task which create the event must prior to the task which use the event .
Hope it helps
Alice