6 years, 4 months ago.

Mbed OS 2 binary size

I'working on a project that requires the use of a particular c++ Library. However if I copy the library inside the binary folder the size of the compiled sources will increase even if I have no explicit declaration of any classes defined into the library. I've used different gcc and ld options to change the build environment. In particular these one: - -ffunction-sections -fdata-sections - -Wl, gc-sections

Are there another options to minimize the use of RAM? (I've very few RAM inside my micro ...) Thanks for any support :D

How I can disable a module in mbed os 2? Here there is an explanation for mbed os 5 https://os.mbed.com/docs/v5.6/tutorials/optimizing.html

posted by Alberto Petrucci 26 Jun 2018
Be the first to answer this question.