C Language
STM32 Series #6: The Complete Pointer Accident Handbook
NULL dereference, dangling pointers, out-of-bounds array access, undefined behavior — we deliberately trigger the classic pointer land mines of embedded development and observe them under the debugger. Knowing how things break is the most powerful way to learn.
作成: 2026-03-28STM32 Series #5: Pointers as Typed Addresses
Demystify C’s most feared concept — pointers — from the core principle of ’typed addresses.’ What casts mean, how memory-mapped I/O connects to pointers, and what CMSIS headers are actually doing. Stop fearing pointers and start using them as a weapon.
作成: 2026-03-25 ・ 更新: 2026-03-29STM32 Series #3: Struct Padding and Alignment in Memory
Use the STM32 debugger Memory view to observe struct padding and alignment in C. See why sizeof() doesn’t always equal the sum of member sizes, learn how to reduce RAM usage by reordering members, and understand volatile through actual byte-level inspection.
作成: 2026-03-06 ・ 更新: 2026-03-12