I am developing on the 28069 Experimenters kit using Sys/Bios 6.34.4.22, and am running into some errors trying to create some mailboxes and events in the app.cfg file. I am statically creating pairs of events and mailboxes in the app.cfg file. But when I try to enter in the event handle in the Reader Event field of the mailbox configuration, I get this error:
XDC runtime error: ti.sysbios.knl.Mailbox: no element named ‘readerEvent’
The other problem I am having is if I leave the readerEvent field blank, the event and mailbox handles are not linking properly. I have a declaration for the events and mailboxes in a common header file like so:
#ifdef DEFINE_VARIABLES
#define EXTERN /* nothing */
#else
#define EXTERN extern
#endif /* DEFINE_VARIABLES */
EXTERN Event_Handle evtBC;
EXTERN Mailbox_Handle mbxBC;
Then I include that header file with the source code I try to use, like so:
posted = Event_pend(evtBC, Event_Id_NONE, Event_Id_00 + Event_Id_01, EVENT_TIMEOUT);
if (posted & Event_Id_00) {
Mailbox_pend(mbxBC, msg, BIOS_NO_WAIT);
}
But I get a linking error:
#10056 symbol "_evtBC" redefined: first redefined in