7 years, 3 months ago.

Compiled file is too big after adding SDCard library

My program size jump by 20Kbyte only after adding the library to my program. This make my binary size bigger than the flash memory .. it reaches about 60Kbyte. I use F030R08. Without the SDCARD library, I have the binary about 30Kbyte. What should I do? Please help!

1 Answer

7 years, 3 months ago.

What's your working IDE? If it was KEIL, how about seting Level 2 (-O2) or even Level 3 (-O3) for Optimization?

No, the MBED online compiler .. I have no control over the compilation

posted by M J. 05 Jan 2017