cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor II

Hi,

   

I tried to compile one empty project using PSoC Creator 3.0. The device selcted was CY8C5265LTI-LP050. After compiling I got an error message saying "Build error: region RAM overflowed with stack". Please help.

   

 

   

Thanks

0 Likes
Reply
1 Solution
Employee

 The extra RAM consumption you see is mainly due to Stack & Heap allocation in .cydwr file -> System tab. Creator allocates the default 0x1000 & 0x4000 bytes for heap & stack in the SRAM and hence the higher consumption. If your application does not require that much Stack & Heap, you can reduce them.

View solution in original post

0 Likes
Reply
1 Reply
Employee

 The extra RAM consumption you see is mainly due to Stack & Heap allocation in .cydwr file -> System tab. Creator allocates the default 0x1000 & 0x4000 bytes for heap & stack in the SRAM and hence the higher consumption. If your application does not require that much Stack & Heap, you can reduce them.

View solution in original post

0 Likes
Reply