This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue with RTX Tiny (MAXTASKN Unresolved)

Hey, I've got an issue when trying to use the RTX166 tiny operating system on a C167CR chip. I'm working on legacy code, and it's like a spaghetti junction with several different groups working almost independently on it in the past.

It requires the use of the os_wait() task, so I introduced the RTX166T.A66 (also tried the .obj) to µVision. The compiler sees the os_wait() task which is good, but I get this error several times:

ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: ?RTX_MAXTASKN
MODULE: .\RTX166T.obj
ADDRESS: D2D6H

I can find MAXTASKN in the assembler code but it's only called as an EXTRN and it's never defined (or declared, I can never remember which is which) anywhere in the code.

EXTRN   ?RTX_MAXTASKN:    DATA16        ; Highest Task Id in Use

If anyone else has had a similar issue, or could help me out, I'd be grateful.