Does anyone share tips for code and RAM size optimization on ARM Cortex-M0

Hi expert,

I want to optimize my code size(flash size) and RAM used size for my Cortex-M0 MCU(32KB flash and 2KB RAM). Does anyone share some tips for how to optimize? And I'm using Keil with v5 compiler.

More questions in this forum