Community news, upcoming events and general discussions
Threads: 30 Posts: 77
Get technical support from the community
Threads: 967 Posts: 5264
Threads: 15 Posts: 54
Tell us how to make XDK better!
Threads: 35 Posts: 117
Share and discuss community member projects
Threads: 44 Posts: 216
I will try to keep it short. After more than one entire week of intense work on making the given examples for data logging and MQTT communication working without bugs, I am now facing - again btw - a severe problem, that makes the use of the XDK somehow almost impossible at the moment. After making the examples for DL and MQTT seperately compilable, I have now joined the two solutions into one project. Now the Problem is: "ERROR : region RAM overflowed with stack"
I would really like to have data logging and mqtt connection running on only one device, but as it seems, the RAM of the XDK is not sufficient. Any suggestions? I am using Bosch XDK110 and XDK Workbench version 3.3.1 Thank you in advance!
Thank you very much for your reply! Unfortunately, I could not test your proposed solution so far, because I have switched to MQTT publishing only. Now I am about to inject the capabilities of logging the sensor data on the SD card in addition to the MQTT capabilities. Sometimes the WiFi connection gets lost and we want to have our data to remain consistent. So I will try to adjust the code in a manner that we can always update our data sets with logged data, in case of loss. But if I find some time (as always not much of it left), I will try to adjust the settings of the Free RTOS as you proposed. Meanwhile the sensor is doing a great job, by the way! And it makes pretty much fun to code on it.
For now, again, thank you for your help!