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

problem with stack pointer for reentrant functions

Hello,
i've got a problem when linking my project,
I use large reentrant functions , so in the startup file, i want to initialise the variable C_XBP.
But when i want to link my project, there is an error :
UNRESOLVED EXTERNAL SYMBOL
?C_XBP

Please help me !!!

Parents

  • Copy the file STARTUP.A51 from the "lib" directory of the Keil distribution to your project. Edit it as appropriate, and include it in your build.

    You'll need to set the XBPSTACK equate to 1 to indicate you want a large-model reentrant stack, and also choose the location and size of your stack.

Reply

  • Copy the file STARTUP.A51 from the "lib" directory of the Keil distribution to your project. Edit it as appropriate, and include it in your build.

    You'll need to set the XBPSTACK equate to 1 to indicate you want a large-model reentrant stack, and also choose the location and size of your stack.

Children