LPC2000: Fix for "Error: invalid literal constant: pool need
Market leading real time kernel for 40+ microcontroller architectures
Brought to you by:
gaurav-aws,
rtel
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
Fixed macros portSAVE_CONTEXT and portRESTORE_CONTEXT
This is for a very old vesion of code and I think was fixed.