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,
Min Flash size
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Min Flash size
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
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