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

HOW TO FORCE C51 TO COMPILE ALL FUNCTIONS REENTRANT

Hi,

Do you know a way to tell the compiler (via #pragma or similar) all functions in the C file must be reentrant?

I am using a source library running in several micros and I would not like to maintain a separate source just for Keil.

Thanks

L

Parents
  • Since the project becomes more and more complicated (around 512K),

    then why on earth do you use a '51?
    When the dinosaurs roamed the earth there were legit reasons for using '51 banking to huge memories, but with todays low prices for e.g. the ARM there is no reason to manhandle projects of such size into a '51.

    Erik

Reply
  • Since the project becomes more and more complicated (around 512K),

    then why on earth do you use a '51?
    When the dinosaurs roamed the earth there were legit reasons for using '51 banking to huge memories, but with todays low prices for e.g. the ARM there is no reason to manhandle projects of such size into a '51.

    Erik

Children