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

porting uC/OS II to LPC2148

Hello,

I'm trying to port uC/OS II (i bought the book) to MCB2140 and i'm using Keil CARM compiler. I took port from ucos-ii web site, which was written for IAR. I modified some stuff in asm file (difference betwen iar compiler and keil) but when I try to compile it I get this errors:

Build target 'MCB2140'
compiling app.c...
linking...
*** WARNING L23: UNRESOLVED EXTERNAL SYMBOLS
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTimeDly?T
ADDRESS: 000000E6H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSInit?T
ADDRESS: 00000138H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSTaskCreateExt?T
ADDRESS: 0000015EH
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSStart?T
ADDRESS: 0000016AH
Program Size: data=1800 const=24 code=396
Target not created

Can anyone help me?

Thank you

Parents
  • "This are labels for routines written in assembly, and are called from C functions. But all errors have ?T at the symbol name."

    When interfacing assembler and 'C', your assembler source must follow all the conventions of the 'C' Compiler.

    If the 'C' Compiler wants "?T" in all the symbol names, then your assembler source must provide it.

    You need to read the 'C' Compiler Manual for details of its calling conventions, naming conventions, and internal data representation...

Reply
  • "This are labels for routines written in assembly, and are called from C functions. But all errors have ?T at the symbol name."

    When interfacing assembler and 'C', your assembler source must follow all the conventions of the 'C' Compiler.

    If the 'C' Compiler wants "?T" in all the symbol names, then your assembler source must provide it.

    You need to read the 'C' Compiler Manual for details of its calling conventions, naming conventions, and internal data representation...

Children