Menu

#30 LPC2000: Fix for "Error: invalid literal constant: pool need

closed
nobody
None
5
2020-02-25
2009-04-17
Oliver
No

Under some circumstance the compiler generates an error "Error: invalid literal constant: pool needs to be closer". This happens when the code size exceeds a certain amount so that the compiler can't load for example ulCriticalNesting directly. The attached file contains my patches. I use them now for 2 years without known problem.
See also this thread: <https://sourceforge.net/forum/forum.php?thread_id=1448037&forum_id=382005>

Regards,
Oliver

Discussion

  • Oliver

    Oliver - 2009-04-17

    Fixed macros portSAVE_CONTEXT and portRESTORE_CONTEXT

     
  • Richard Barry

    Richard Barry - 2020-02-25
    • status: open --> closed
    • Group: --> Next Release (example)
     
  • Richard Barry

    Richard Barry - 2020-02-25

    This is for a very old vesion of code and I think was fixed.

     

Log in to post a comment.