How to assign RAm,Stack and heap memories in Psoc creator-cy8ckit-042ble

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

If i am building my application ,it throws following errors..

   

Build error: .\CortexM0\ARM_GCC_493\Debug\ipsp.elf section `.heap' will not fit in region `ram'

   

Build error: region RAM overflowed with stack

   

Build error: region `ram' overflowed by 0 bytes

   

How to rectify these problems...?

   

 

   

Thanks and Regards,

   

Sridhar Naidu.

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In .cydwr view select the "System" tab where you may set heap and stack sizes. As the BLE component uses some sram you might easily overflow the amount available, so use global data sparingly (wisely).

   

 

   

Bob

View solution in original post

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In .cydwr view select the "System" tab where you may set heap and stack sizes. As the BLE component uses some sram you might easily overflow the amount available, so use global data sparingly (wisely).

   

 

   

Bob

0 Likes