diff options
| author | hathach <[email protected]> | 2026-06-08 14:34:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-08 14:34:47 +0700 |
| commit | 97480bad2ce5ddbb38be6bfe00491c49b6ea2afe (patch) | |
| tree | 7bd12fb48f255758731038af42c0df160581ac3f /test | |
| parent | 7c68545ab6bd0a2b7d4b59228d84d4c2085abae7 (diff) | |
stm32u0: implement board_get_unique_id from UID_BASE
Previously stm32u0 had no board_get_unique_id(), so it fell back to the
weak default in hw/bsp/board.c and every board reported the placeholder
USB serial 0123456789ABCDEF. HIL identifies boards by USB serial, so a
non-unique serial collides on a multi-board rig. Read the 96-bit unique
ID from UID_BASE, mirroring stm32u5. Verified on stm32u083nucleo: now
enumerates as 300044000D5036394E373620.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
