circuitpython/ports/esp32s2
Jeff Epler a2919a6fb2 esp32s2: Use the device's EUI-48 address as unique ID
On my hardware, esptool reports
    MAC: 7c:df:a1:02:6c:b8
after this change, the USB descriptor says SerialNumber: 7CDFA1026CB8
and microcontroller.cpu.id has
    >>> "".join("%02x" % byte for byte in microcontroller.cpu.uid)
    'c7fd1a20c68b'

Note that the nibble-swapping between USB and cpu.uid is typical.
For instance, an stm32 board has USB SerialNumber
24002500F005D42445632302 but hex-converted microcontroller.cpu.id
420052000f504d4254363220.
2020-07-15 11:45:13 -05:00
..
boards Merge pull request #3083 from tannewt/esp32s2_busio 2020-07-01 21:02:08 -05:00
common-hal esp32s2: Use the device's EUI-48 address as unique ID 2020-07-15 11:45:13 -05:00
esp-idf@160ba4924d Compiles! 2020-06-24 12:47:59 -07:00
modules Switch SPI to polling DMA and enable displayio 2020-06-24 13:10:08 -07:00
peripherals Fully implement digitalio and pin-in-use tracking. 2020-05-19 17:46:29 -07:00
supervisor Add license to some obvious files. 2020-07-06 19:16:25 +01:00
tools Spill registers before scanning the stack. 2020-05-28 18:34:14 -07:00
.gitignore Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
background.c Turn off Idle WDT and speed up CPU 2020-06-24 13:10:31 -07:00
background.h Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
CMakeLists.txt change CMake verision requirement 2020-06-27 13:27:42 -04:00
esp32s2_peripherals_config.h Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
fatfs_port.c Add license to some obvious files. 2020-07-06 19:16:25 +01:00
Makefile Add license to some obvious files. 2020-07-06 19:16:25 +01:00
mpconfigport.h A number of small ESP32S2 fixes: 2020-05-28 15:43:55 -07:00
mpconfigport.mk esp32s2: Use the device's EUI-48 address as unique ID 2020-07-15 11:45:13 -05:00
mphalport.c Add pull up testing, proper us delay and stop supporting 45 and 46 for I2C 2020-06-24 12:47:58 -07:00
mphalport.h Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
partitions.csv Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
qstrdefsport.h Initial ESP32S2 port. 2020-05-15 15:36:16 -07:00
sdkconfig.defaults Turn off Idle WDT and speed up CPU 2020-06-24 13:10:31 -07:00