Reduce memory usage to minimum, Bluepill, 64kBytes, simple GUI

Disabling unused elements in lv_conf.h does not help very much !
Best way is to do the followings:
1- Pass to the compiler two options:
-ffunction-sections
-fdata-sections
2- Pass to the linker this option:
–gc-sections

The above will result in big drop in flash usage.
I went through this in this forum two weeks ago, and here is the link: