STM32 Series #2: Where Variables Live — Flash, RAM, and the Stack
C variable declarations (const, global, local) determine which memory region data lands in. Use the debugger to verify actual addresses and understand the difference and purpose of Flash, SRAM, and the Stack.