zephyr/drivers/hwinfo
Leandro Pereira 05351dbf9d drivers: hwinfo: Add support for ESP32
ESP32 can sport up to 4 network interfaces: two 802.11 (station and
ap), ethernet, and bluetooth.  All of them derive from the same RDATA
register in efuse block 0.  However, in most cases, the last (sixth)
octet will change like so:

  - 802.11 station:  mac[5] += 0
  - 802.11 ap:       mac[5] += 1
  - bluetooth:       mac[5] += 2
  - ethernet:        mac[5] += 3

Read "Number of universally admnistered MAC address" section in esp-idf
documentation[1] for more information.

[1] https://docs.espressif.com/projects/esp-idf/en/latest/

Signed-off-by: Leandro Pereira <leandro@hardinfo.org>
2019-05-30 09:28:50 -04:00
..
CMakeLists.txt drivers: hwinfo: Add support for ESP32 2019-05-30 09:28:50 -04:00
hwinfo_esp32.c drivers: hwinfo: Add support for ESP32 2019-05-30 09:28:50 -04:00
hwinfo_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
hwinfo_imxrt.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
hwinfo_mcux_sim.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
hwinfo_nrf.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
hwinfo_sam.c drivers: hwinfo: add driver support for Atmel SAM device ID 2019-03-25 15:55:48 -04:00
hwinfo_sam0.c drivers: hwinfo: add driver support for Atmel SAM0 device ID 2019-04-18 17:54:30 -04:00
hwinfo_shell.c shell: Make sure digits of the device id are rendered with 2 hex digits 2019-03-09 10:05:01 -05:00
hwinfo_stm32.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
hwinfo_weak_impl.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
Kconfig drivers: hwinfo: Add support for ESP32 2019-05-30 09:28:50 -04:00