Page 1 of 1
Min Flash size
Posted: Sun Mar 06, 2011 12:13 am
by my64
Hi,
What is the minimum flash size needed to install chibios ?
For instance, the demo application for STM32F100 takes approximately ~25kbytes. Can it be reduced, and fit in a 16kb MCU ?
Thanks,
Re: Min Flash size
Posted: Sun Mar 06, 2011 7:56 am
by Giovanni
Hi,
The minimum kernel size is about 1.5KB on a Cortex processor, a typical configuration with some device drivers takes 4-6KB. A full kernel with all the device drivers can reach about 12KB.
The demo is so large because it also includes the test code, the test code is only required for the test report generation, if you remove the test code (which is huge) the final size will be less than half.
The demo also includes a full kernel, you can disable most subsystems (Dynamic, Mutexes, allocators) and reduce the size even more.
Giovanni
Re: Min Flash size
Posted: Sun Mar 06, 2011 10:27 pm
by my64
Great, I will try
Thanks Giovanni.