Page 1 of 1
CS with FreeRTOS+lwIP and memory requirements
Posted: 14 Jan 2026, 20:56
by rottava
Hi everyone,
We've recently downloaded the Community Stack source code, and now we are performing tests and evaluating the results to create a proof of concept prototype.
Community Stack targets a Linux system, but we are planning in using FreeRTOS + lwIP. Given the complexity of our (future) product, Linux would be overkill. We managed to move forward, of course, just would like to know if someone has ported successfully this stack to a less fancy OS.
Regarding the RAM and flash requirements, based on our previous experience with other industrial protocols, they seem to be quite high. So what would be a realistic memory footprint? Depending on these figures, we might need to rethink our hardware project.
Best Regards,
Luciano.
Re: CS with FreeRTOS+lwIP and memory requirements
Posted: 15 Jan 2026, 03:54
by AlfredoAtSherpa
rottava wrote: ↑14 Jan 2026, 20:56
Hi everyone,
We've recently downloaded the Community Stack source code, and now we are performing tests and evaluating the results to create a proof of concept prototype.
Community Stack targets a Linux system, but we are planning in using FreeRTOS + lwIP. Given the complexity of our (future) product, Linux would be overkill. We managed to move forward, of course, just would like to know if someone has ported successfully this stack to a less fancy OS.
Regarding the RAM and flash requirements, based on our previous experience with other industrial protocols, they seem to be quite high. So what would be a realistic memory footprint? Depending on these figures, we might need to rethink our hardware project.
Best Regards,
Luciano.
Hi Luciano:
According to he link below:
https://www.rtautomation.com/wp-content ... or-Web.pdf,
(page 3)
and the link below:
https://www.rtautomation.com/product/pr ... ode-stack/
the company Real Time Automation has cracked this issue and they offer an SDK.
I have not consulted them about this product, but I do have experience with other of their SDKs.
I can recommend them. They supported us extremely well.
Good luck with your project.
Alfredo
Re: CS with FreeRTOS+lwIP and memory requirements
Posted: 15 Jan 2026, 20:51
by rottava
AlfredoAtSherpa wrote: ↑15 Jan 2026, 03:54
rottava wrote: ↑14 Jan 2026, 20:56
Hi everyone,
We've recently downloaded the Community Stack source code, and now we are performing tests and evaluating the results to create a proof of concept prototype.
Community Stack targets a Linux system, but we are planning in using FreeRTOS + lwIP. Given the complexity of our (future) product, Linux would be overkill. We managed to move forward, of course, just would like to know if someone has ported successfully this stack to a less fancy OS.
Regarding the RAM and flash requirements, based on our previous experience with other industrial protocols, they seem to be quite high. So what would be a realistic memory footprint? Depending on these figures, we might need to rethink our hardware project.
Best Regards,
Luciano.
Hi Luciano:
According to he link below:
https://www.rtautomation.com/wp-content ... or-Web.pdf,
(page 3)
and the link below:
https://www.rtautomation.com/product/pr ... ode-stack/
the company Real Time Automation has cracked this issue and they offer an SDK.
I have not consulted them about this product, but I do have experience with other of their SDKs.
I can recommend them. They supported us extremely well.
Good luck with your project.
Alfredo
Hi Alfredo,
Thanks for the heads up! Will contact RT Automation and request a quotation.
Best Regards,
Luciano.
Re: CS with FreeRTOS+lwIP and memory requirements
Posted: 05 Mar 2026, 13:55
by CodewerkPNSupport
rottava wrote: ↑14 Jan 2026, 20:56
Hi everyone,
We've recently downloaded the Community Stack source code, and now we are performing tests and evaluating the results to create a proof of concept prototype.
Community Stack targets a Linux system, but we are planning in using FreeRTOS + lwIP. Given the complexity of our (future) product, Linux would be overkill. We managed to move forward, of course, just would like to know if someone has ported successfully this stack to a less fancy OS.
Regarding the RAM and flash requirements, based on our previous experience with other industrial protocols, they seem to be quite high. So what would be a realistic memory footprint? Depending on these figures, we might need to rethink our hardware project.
Best Regards,
Luciano.
Hi Luciano,
We recently completed the exact port that you are asking about (FreeRTOS + lwIP).
The footprint that we ended up with (PNCS v1.0.0 - not the just recently released v2.0.0):
* RAM: ~1.3 MB
* Flash: ~0.6 MB
We are pretty sure that the RAM footprint can be decreased and are already working on it.
If you are interested in a Teams call, please contact us via PM or via
[email protected].
Regards,
Jakob