[riot-commits] [RIOT-OS/RIOT] e20608: stm32_eth: Initial implementation by Victor Arino

Kaspar Schleiser noreply at github.com
Thu Jul 4 16:48:46 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: e206087d6562322d28474bba6369946ea0266b02
      https://github.com/RIOT-OS/RIOT/commit/e206087d6562322d28474bba6369946ea0266b02
  Author: Victor Arino <victor.arino at triagnosys.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M boards/stm32f4discovery/Makefile.features
    M boards/stm32f4discovery/include/periph_conf.h
    M cpu/stm32f4/include/periph_cpu.h
    A cpu/stm32f4/periph/eth.c
    A drivers/include/net/phy.h
    A tests/stm32_eth_lwip/Makefile
    A tests/stm32_eth_lwip/README.md
    A tests/stm32_eth_lwip/main.c

  Log Message:
  -----------
  stm32_eth: Initial implementation by Victor Arino

drivers/eth-phy: add generic Ethernet PHY iface
cpu/stm32f4: implement eth driver peripheral

This implements the ethernet (MAC) peripheral of the stm32f4 as a
netdev driver.
boards/stm32f4discovery: add eth configuration
boards/stm32f4discovery: add feature stm32_eth
tests/stm32_eth_lwip: add test application


  Commit: 4729bea46e44b2bf65b96970c5d6aa97dfd6a95b
      https://github.com/RIOT-OS/RIOT/commit/4729bea46e44b2bf65b96970c5d6aa97dfd6a95b
  Author: Robin <robin at chilio.net>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M boards/nucleo-f767zi/Makefile.dep
    M boards/nucleo-f767zi/Makefile.features
    M boards/nucleo-f767zi/include/periph_conf.h
    M boards/stm32f4discovery/Makefile.features
    M boards/stm32f4discovery/include/periph_conf.h
    M cpu/stm32_common/include/periph_cpu_common.h
    A cpu/stm32_common/periph/eth.c
    M cpu/stm32f4/include/periph_cpu.h
    R cpu/stm32f4/periph/eth.c
    M drivers/Makefile.dep
    R drivers/include/net/phy.h
    A drivers/include/stm32_eth.h
    A drivers/stm32_eth/Makefile
    A drivers/stm32_eth/doc.txt
    A drivers/stm32_eth/stm32_eth.c
    M sys/auto_init/auto_init.c
    A sys/auto_init/netif/auto_init_stm32_eth.c
    R tests/stm32_eth_lwip/Makefile
    R tests/stm32_eth_lwip/README.md
    R tests/stm32_eth_lwip/main.c

  Log Message:
  -----------
  stm32_eth: Multiple Improvements of the original codebase

stm32eth: Move to stm32_common periph
cpu/stm32_periph_eth: Rebase to current master branch

- Update DMA to use new vendor headers
- Update send to use iolist. It looks like the packet headers are now transfered as seperate iolist entries which results in the eth periph sending each header as own packet. To fix this a rather ugly workaround is used where the whole iolist content is first copied to a static buffer. This will be fixed soon in another commit
- If MAC is set to zero use luid to generate one
- Small code style fixes

cpu/stm312f7: Add periph config for on-board ethernet
boards/nucleo-f767zi: Add config for on board ethernet
tests/stm32_eth_lwip: Remove board restriction
boards/common/nucleo: Add luid module if stm32 ethernet is used
tests/stm32_eth_gnrc: Add Testcase for gnrc using the stm32 eth periph
stm32_eth: Rework netdev driver layour
tests/stm32_eth_*: Use netdev driver header file for prototypes
stm32_eth: Add auto init for stm32 eth netdev driver
boards/stm32: Enable ethernet conf for nucleo boards
stm32_eth_auto_init: Add dont be pendantic flag
stm32_eth: Remove dma specific stuff from periph_cpu.h

Looks like this was implemented in PR #9171 and 021697ae94 with the same interface.

stm32_eth: Remove eth feature from stm32f4discovery boards
stm32_eth: Migrate to stm32 DMA API
stm32_eth: Add iolist to module deps
stm32_eth: Rework send function to use iolist
stm32_eth: Fix ci build warnings
stm32_eth: Fix bug introduced with iolist usage
stm32_eth: Remove redundant static buffer
stm32_eth: Fix feature dependencies
stm32_eth: Fix wrong header guard name
stm32_eth: Implement correct l2 netstats interface
stm32_eth: Rename public functions to stm32_eth_*
stm32_eth: Fix doccheck
stm32_eth: Move register DEFINE to appropriate header file
stm32_eth: remove untested configuration for f446ze boards
stm32_eth: Move periph configuration struct to stm32_common
stm32_eth: Fix naming of eth_phy_read and eth_phy_write
stm32_eth: Remove obsolete test applications


  Commit: 9e6d5585967d7f50ad9b44061772a9f360770237
      https://github.com/RIOT-OS/RIOT/commit/9e6d5585967d7f50ad9b44061772a9f360770237
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M boards/nucleo-f767zi/Makefile.features
    M boards/nucleo-f767zi/include/periph_conf.h
    M cpu/stm32_common/include/periph_cpu_common.h
    M cpu/stm32_common/periph/eth.c
    M drivers/stm32_eth/stm32_eth.c
    M examples/default/Makefile

  Log Message:
  -----------
  stm32_eth: Code cleanup and some fixes

cpu/stm32_common: cleanup periph eth
boards/nucleo-f767zi: cleanup dependencies
boards/nucleo-f767zi: fix dma configuration attribute for eth
examples/default: add nucleo-767zi in boards with netif
drivers/stm_32_eth: Add header guard for eth_config

Co-authored-By: Robin <robin at chilio.net>


  Commit: d167cf334dcf7ebb18d729299f2775510b4cf1f7
      https://github.com/RIOT-OS/RIOT/commit/d167cf334dcf7ebb18d729299f2775510b4cf1f7
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M boards/nucleo-f767zi/Makefile.dep
    M boards/nucleo-f767zi/Makefile.features
    M boards/nucleo-f767zi/include/periph_conf.h
    M cpu/stm32_common/include/periph_cpu_common.h
    A cpu/stm32_common/periph/eth.c
    M drivers/Makefile.dep
    A drivers/include/stm32_eth.h
    A drivers/stm32_eth/Makefile
    A drivers/stm32_eth/doc.txt
    A drivers/stm32_eth/stm32_eth.c
    M examples/default/Makefile
    M sys/auto_init/auto_init.c
    A sys/auto_init/netif/auto_init_stm32_eth.c

  Log Message:
  -----------
  Merge pull request #10633 from crest42/stm32_eth_new

drivers: stm32 eth peripheral driver


Compare: https://github.com/RIOT-OS/RIOT/compare/1744b6bd92e9...d167cf334dcf


More information about the commits mailing list