Zephyr and the Memory Footprint: Difference between revisions

From chriesibaum wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Do you want to use [https://zephyrproject.org/ Zephyr RTOS] on a Microcontroller with only a few bytes of Flash? Let's try it!
Do you want to use [https://zephyrproject.org/ Zephyr RTOS] on a Microcontroller with only a few bytes of Flash? Let's try it!


On the [https://docs.zephyrproject.org/latest/guides/optimizations/footprint.html Optimizing for Footprint] doc site you will find some hints how to reduce the memory footprint. With this I could reduce the kernel to 6872 bytes. Ok, this is just the kernel to have an idea how much flash it needs. But how much does a small hello world application need, for example?
On the [https://docs.zephyrproject.org/latest/guides/optimizations/footprint.html Optimizing for Footprint] doc site you will find some hints how to reduce the memory footprint. With this I could reduce the kernel to 6872 bytes. Ok, this is just the kernel to have an idea how much flash it needs. You can analyze the memory usage from the rom/ram-report (for more details have a look at the Zephyr [https://docs.zephyrproject.org/latest/guides/optimizations/tools.html Optimization Tools]).


 
But how much does a small hello world application need, for example?
 
 
* https://docs.zephyrproject.org/latest/guides/optimizations/footprint.html
 
 
* https://docs.zephyrproject.org/latest/guides/optimizations/tools.html

Revision as of 10:27, 26 January 2021

Do you want to use Zephyr RTOS on a Microcontroller with only a few bytes of Flash? Let's try it!

On the Optimizing for Footprint doc site you will find some hints how to reduce the memory footprint. With this I could reduce the kernel to 6872 bytes. Ok, this is just the kernel to have an idea how much flash it needs. You can analyze the memory usage from the rom/ram-report (for more details have a look at the Zephyr Optimization Tools).

But how much does a small hello world application need, for example?