How are kernel size reports generated?

Discussions and support about ChibiOS/RT, the free embedded RTOS.
Freddie Chopin
Posts: 36
Joined: Wed Oct 17, 2012 8:57 am

How are kernel size reports generated?

Postby Freddie Chopin » Tue Mar 24, 2015 12:20 pm

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!

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: How are kernel size reports generated?

Postby Giovanni » Tue Mar 24, 2015 2:14 pm

Hi,

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

Giovanni

sizereports.zip
(15.76 KiB) Downloaded 205 times

Freddie Chopin
Posts: 36
Joined: Wed Oct 17, 2012 8:57 am

Re: How are kernel size reports generated?

Postby Freddie Chopin » Wed Mar 25, 2015 5:48 pm

Great - thanks! Now this idea seems obvious (;

Regards,
FCh


Return to “ChibiOS/RT”

Who is online

Users browsing this forum: No registered users and 9 guests