Files
ardupilot/libraries/AP_HAL_ChibiOS/hwdef/common
Thomas Watson 1fe72a07e1 AP_HAL_ChibiOS: improve H7 low memory zero check
The hardware can read and write address zero just fine, but doing it
through a C null pointer will invoke undefined behavior and may cause
the compiler to emit faulting instructions.

Switch to using an assembly instruction to do the actual access, thereby
avoiding UB by not having an actual null pointer anywhere. Simplifies
the code and reduces flash usage while improving safety 0.1%!
2025-05-18 12:18:40 +10:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…