Optimization
STM32
STM32 Series #12: Optimization and Assembly in C
The compiler transforms code while preserving meaning — but forget volatile and it changes the meaning too. See how assembly changes between -O0 and -O2 with objdump, and close out 12 episodes with the ‘conditions for embedded mastery.’
作成: 2026-05-08
STM32
STM32 Series #7: The Weight of a Single Clock Cycle
How many CPU cycles does ‘wait 1 second’ actually consume? Learn to measure execution time in µs using DWT CYCCNT, and internalize the embedded engineer’s iron rule: ‘you can’t discuss it without measuring it.’
作成: 2026-04-08