Hello everybody,
I´m getting this error:
s.knl.Event: create policy error
xdc.runtime.Error.raise: terminating execution
when calling to the Event_create function.
I´ve been reading the forum and it is suggested to set the Enable Dynamic Instance Creation within the .cfg [SYS/BIOS] configuration file inside the Runtime options tab. I have done this already and I´m still getting the error.
Information about my setup: I´m calling the Event_create function just right afther my main.c execution starts. My code is currently using 78% of the RAM, 22% FLASH and 26% FLASH2 and running on an MSP430F5636. I´m attaching a pic of my runtime config page within the .cfg file and a brief of my code. I´m using CCS version 6.0.1.00040, SYS/BIOS 6.40.1.15, TI-RTOS 2.1.0.03, MSP430 DriverLib 1.80.0.18 and MSP430ware 1.80.1.03.
Hope anybody can help out , thanks!
#include <string.h>
#include "driverlib.h"
#include "USB_config/descriptors.h"
#include "USB_API/USB_Common/device.h"
#include "USB_API/USB_Common/usb.h"
#include <ti/sysbios/BIOS.h> // BIOS includes
#include <ti/sysbios/knl/Event.h>
#include <xdc/runtime/Error.h>
....
Event_Handle Event_RS485Receive;
....
void main(void)
{
Event_RS485Receive = Event_create(NULL, NULL);
Event_post(Event_RS485Receive, NO_RECEIVE);
.....
}