region RAM overflowed with stack
Answer
11/5/18 12:54 AM

I started getting error when added call to MQTT_ConnectToBroker:

/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/bin/ld: ERROR : region RAM overflowed with stack

The MQTT function shouldn't be to blame, because if I comment calls to some other functions it compiles. Just the total RAM required exсeeds some limit. 

I tried to change TASK_STACK_SIZE_MAIN_CMD_PROCESSOR and TASK_STACK_SIZE_APP_CONTROLLER with no luck. 

How can I determine what limit is exceeded and by how much? 

What limit should I change?

 

0 (0 Votes)
RE: region RAM overflowed with stack
Answer
11/5/18 5:34 PM as a reply to Juri Krainjukov.
Dear Juri,

Unfortunately, I am not able to follow you in terms of how your error gets triggered.
To help me find its origin, could you please go more into detail about the steps you took to trigger it?

Kind regards,
Franjo
0 (0 Votes)