How are kernel size reports generated?
Posted: 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!
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!