-
Notifications
You must be signed in to change notification settings - Fork 85
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
Added script to visualize memory usage after compilation #636
base: develop
Are you sure you want to change the base?
Conversation
For some reason the results in the CI are all wrong :/ |
the same script locally runs properly |
Are you sure there is no already such tool that parse the elf ? I would be surprised |
i parsed the map. I honestly thought it was going to be much simpler than it ended up being hahahaah but now that i understand how the .map format works i think its working very neatly. The advantage of the custom implementation are
I didnt check actually, but now im using it to prune the code and is very convenient :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a few more lines of comments for our future reference? Especially at the beginning of the file to explain what it's about and the second half that is out of any function definition.
1000% agree. Added comments now, and also simplified a bit the functions.
|
Found a bug when using flash load as linker..., will be working on this |
ok, i was going crazy doing all the manual parsing. I tried using Because the CI does not have it, and in the docker image there is no apt (if i remember properly), it is not possible to see it in the CI runner. |
I just tried the latest version of this PR and it is working for me for |
i THINK that binutils is already a requirement somehow (like, its installed along some other requirements on XHEEP)..... i only dont know why its not available on the CI runner then |
The CI runner depends on the docker if I'm not mistaken, and we're changing that in #603. Maybe we could add the explicit reference there? @LuigiGiuffrida98 |
@davideschiavone this is intended to be used to check the progression of the code miniaturization for HEEPidermis
I am requesting to merge into develop