Why bin file is so big? #479
-
I have compiled my project with latest mbed-ce and got huge bin file and missed prettyprint about bin file. ![]() |
Beta Was this translation helpful? Give feedback.
Answered by
multiplemonomials
Aug 5, 2025
Replies: 2 comments 18 replies
-
Hello, maybe stupid question but for sure, did you perform clean build (delete build folder) and check correct compiler is called? BR, Jan |
Beta Was this translation helpful? Give feedback.
3 replies
-
@xillion What mbed target are you building for? Are you able to link your code? If not, can you post your mbed_app.json? |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK looks like there is something in your code that's putting itself in .crash_data_ram:
You may wish to check
ptl_device.cpp
for any code that is trying to use this section. Currently Mbed OS is not set up to have user data in the crash data RAM section (and that's likely a bug, but oh well). If you would like to put this data in the crash data ram section: