[riot-notifications] [RIOT-OS/RIOT] drivers/edbg_eui: add driver to get MAC address from Atmel EDBG (#14134)

benpicco notifications at github.com
Mon May 25 12:46:10 CEST 2020

The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.

### Contribution description

The EDBG debugger on the `samr21-xpro` contains a unique 64 bit address intended to be used as a MAC address for the internal radio.

This adds a driver to read that EUI-64 from the debugger, it should match with the MAC address printed on the label on the board.

### Testing procedure

Run `tests/driver_edbg_eui`

2020-05-25 12:39:28,297 # main(): This is RIOT! (Version: 2020.07-devel-727-gee319a-drivers/edbg_eui)
2020-05-25 12:39:28,302 # EUI-64: 00 04 25 19 18 01 c8 c5
2020-05-25 12:39:28,303 # [SUCCESS]

The address should match the one printed on the board.

### Issues/PRs references

split out of #12641

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * drivers/edbg_eui: add driver to get MAC address from Atmel EDBG

-- File Changes --

    M drivers/Makefile.dep (4)
    A drivers/edbg_eui/Makefile (1)
    A drivers/edbg_eui/edbg_eui.c (51)
    A drivers/include/edbg_eui.h (44)
    A tests/driver_edbg_eui/Makefile (8)
    A tests/driver_edbg_eui/main.c (50)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200525/98d505c2/attachment-0001.htm>

More information about the notifications mailing list