Page 1 of 1

How are kernel size reports generated?

Posted: Tue Mar 24, 2015 12:20 pm
by Freddie Chopin
Hello!

I'm very curious how are the kernel size reports (available here - http://chibios.sourceforge.net/reports/kernel.txt ) generated? I looked in the source tree for any script that generates that info, but I failed to find anything related. Maybe the number is just the size of .text + .data for compiled project similar to demos/ARMCM3-GENERIC-KERNEL (as reported by - for example - arm-none-eabi-size)? Or maybe it's the sum of sizes of ChibiOS/RT functions, obtained from memory dump or memory map file?

Thx in advance for any information!

Re: How are kernel size reports generated?

Posted: Tue Mar 24, 2015 2:14 pm
by Giovanni
Hi,

It is the size of the binary file, see the attachment.

Giovanni

sizereports.zip
(15.76 KiB) Downloaded 446 times

Re: How are kernel size reports generated?

Posted: Wed Mar 25, 2015 5:48 pm
by Freddie Chopin
Great - thanks! Now this idea seems obvious (;

Regards,
FCh