[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: periph_eth: register with netdev (#15520)

benpicco notifications at github.com
Sun Nov 29 23:13:46 CET 2020


### Contribution description

Instead of providing a hard-coded MAC address per board, allow to supply a MAC address using EUI provider for `stm32_eth`.

### Testing procedure

The Ethernet interface should still get a stable address across reboots.
If a board defines an EUI provider, that address should be used instead. 


### Issues/PRs references

<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

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

  https://github.com/RIOT-OS/RIOT/pull/15520

-- Commit Summary --

  * cpu/stm32: periph_eth: register with netdev
  * cpu/stm32: periph_eth: drop addr from eth_conf_t

-- File Changes --

    M boards/nucleo-f207zg/include/periph_conf.h (1)
    M boards/nucleo-f746zg/include/periph_conf.h (1)
    M boards/nucleo-f767zi/include/periph_conf.h (1)
    M cpu/stm32/Makefile.dep (1)
    M cpu/stm32/include/periph_cpu.h (1)
    M cpu/stm32/periph/eth.c (17)
    M drivers/include/net/netdev.h (1)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15520.patch
https://github.com/RIOT-OS/RIOT/pull/15520.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15520
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201129/7fa5d5e4/attachment.htm>


More information about the notifications mailing list