I found out that when the directive OSENABLE_BOUNDS_CHECKING is TRUE, the source files 'task.c' and 'inittask.c' causes compiler error. There is a mixup between tcbP and ecbP.
I found out that when the directive OSENABLE_BOUNDS_CHECKING is TRUE, the source files 'task.c' and 'inittask.c' causes compiler error. There is a mixup between tcbP and ecbP.
Perhaps it's due to the version of the compiler you're using?
------------------
I am using the release 3.2.3 for PIC MCU's that is available via ftp.
My compiler: ht-pic 8.01 PL1.
OSLOGGING is set to TRUE.
Code that causes problem: ecbP is not defined
file:task.c
code:OSWarnRtn("OSStartTask",
OSMakeStr("task %d nonexistent or invalid.",
OSeID(ecbP)), (OStypeErr) OSERR_BAD_P);
code:OSWarnRtn("OSCreateTask",
OSMakeStr("task %d nonexistent or invalid.",
OSeID(ecbP)), (OStypeErr) OSERR_BAD_P);
[This message has been edited by aek (edited November 17, 2003).]
Change OSeID(ecbP) to OStID(tcbP) to correct.
We will incorporate this fix into the next release.
Sorry for the inconvenience, and thank you for bring this to our attention.
------------------
Users browsing this forum: No registered users and 1 guest