-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Total size seems to be not correct #4
Comments
This is something I experienced too, but after debugging a bit it seemed that it was due to some unnamed static symbols (read-only) that were defined in the code but were not reported by But maybe it's not the above problem and you are just missing some relevant sections. You can find sections to use by running Anyway, it's better to assume that output of |
So I don't know if I do the correct math but judging form the section output I would assume the following: The -vv output would be:
|
Is this actually the output for Anyway the whole rom/ram guessing algorithm is not reliable, and I think in general it cannot be (as noted here). To get best results just use the If |
You are right that was the output for RAM. Sorry my bad. This here is the output for ROM.
|
I don't know your system, neither I know zephyr well enough, but as I said, you probably want sections 1-17 as your flash memory. The script takes 1-32, which seems wrong looking at memory addresses (the script cannot know about your memory layout). You can use |
yep, I do see some unnamed symbols via:
according to my "awk" expression |
Hi,
first of all thanks for the great alternative to size_report. But it seems that the reported size is not correct. For my elf file I have the following data points:
Linker output:
The size_report --rom version reports me
920047
and your tool prints816200
. Unfortunately I cannot share the reports and don't really know how to help further to pin down the problem.The text was updated successfully, but these errors were encountered: