daniel-thompson / i2c-star

A clone of the i2c-tiny-usb based upon STM32 and libopencm3
GNU General Public License v3.0
125 stars 31 forks source link

Add USB serial number based on unique chip id #18

Closed silbe closed 1 year ago

silbe commented 1 year ago

STM32 microcontrollers have a 96-bit on-die unique ID. Expose this (in hex format) as the serial number string via USB so that multiple boards can be distinguished by their serial number.

I have not modified the boot loader as that seems to come from somewhere else.