If you are using any user-defined lib,when generating those libs, you can add the flags below which marked red in the makefile to save some RAM.
CCFLAGS += \
-g\
-Wpointer-arith\
-Wundef\
-Werror\
-Wl,-EL\
-fno-inline-functions\
-nostdlib \
-mlongcalls\
-mtext-section-literals \
-ffunction-sections \
-fdata-sections\
-fno-builtin-printf\
-fno-jump-tables
#-WallStatistics: Posted by Her Mary — Thu Oct 26, 2017 2:01 pm
]]>