Build error - LMM info: 'Interrupt RAM' uses too many bytes | Cypress Semiconductor
Support & Community
Build error - LMM info: 'Interrupt RAM' uses too many bytes
When I try to compile my project in PSoC Designer, I get the message:
Build error. LMM info: 'Interrupt RAM' uses 39 bytes in page 0.
and my project does not compile.
What do I need to do to make this work correctly?
The user needs to tell the compiler how much space should be reserved in RAM for various functions. In this case, the 'Interrupt RAM' space has 39 bytes reserved for it in bank 0. The compiler has detected that more RAM space is required. To reserve more space, go to the Project menu in PSoC Designer and select Settings > Linker, and change the value of "Relocatable code start address" to a larger value. In this case, the setting was 150. Increasing it to 160 solved the problem. Set it only as high as you need it, or you will waste space in RAM.