mirror of
https://github.com/apache/nuttx.git
synced 2026-08-27 04:10:40 +00:00
STM32H5 stores the UID in flash memory that supports only 16-bit or 32-bit read accesses. The 8-bit reads introduced with the stm32_uid unification generate an AHB bus error and hard fault the chip when the Ethernet driver reads the MAC address. Read the UID as three 32-bit words into an aligned buffer and copy it to the caller's buffer. On little-endian ARM the resulting byte order is identical to byte reads, so behavior is unchanged for the other STM32 families. Fixes: https://github.com/apache/nuttx/issues/19771 Signed-off-by: raiden00pl <raiden00@railab.me> Assisted-by: Claude Code |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||