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

can link to library

I wrote a very simple routine , just call a standard function in c51s.lib ,such as rand(), then transfer it to a lib , then add lib to another project and call the function , but got a link error:
fatel error l251: restricted module in library not supported .
what's the matter ?

  • Look on p349 of the Macro Assembler and Utilities for 8051 and Variants User's Guide 07.2000:
    "251 RESTRICTED MODULE IN LIBRARY NOT SUPPORTED
    A library contains a module that is created with an evaluation version or a code size limited version. This is not supported."