1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
Marian Buschsieweke
47f52bd750
build system: provide netif_ethernet implicitly
If there is an Ethernet peripheral (periph_eth feature provided), we
can conclude that an Ethernet network interface can be provided.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-06-03 12:25:21 +02:00
Marian Buschsieweke
8e375548ad
build system: provide netif feature implicitly
If a board already provided a netif_% feature (currently only
netif_ethernet), the netif feature is automagically provided.
2024-05-28 20:53:52 +02:00
Marian Buschsieweke
8ebc102780
build system: rename ethernet feature into netif_ethernet
The `ethernet` feature has not yet been used, so renaming it should not
cause any issue.

The goal is to eventually have a number of `netif_<type>` features that
would allow filtering boards by the time of connectivity the have.
2024-05-24 22:38:59 +02:00
Marian Buschsieweke
97a6543c10
tree-wide: Introduce netif feature and use it
This gets rid of a long list of boards with network interfaces and
instead let's boards (or MCUs with peripheral network interfaces)
provide the netif feature.

The apps that before used the long list are not depending on the
feature instead (in case of the default example, this is an
optional dependency).

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: mewen.berthelot <mewen.berthelot@orange.com>
2024-05-22 10:39:56 +02:00
Gunar Schorcht
990feeec39 boards: enable feature tinyusb_device for STM32 boards 2022-09-30 19:05:51 +02:00
Marian Buschsieweke
4d6fb6e487
boards/nucleo-f767zi: add PWM config
This is a verbatim copy of the PWM config of `boards/nucleo-f746zg`.
However, those boards are almost identical. I successfully tested
the configuration via https://github.com/RIOT-OS/RIOT/pull/18392
2022-08-04 08:53:25 +02:00
madokapeng
6ef41356bc boards/nucleo-f767zi: Add periph_can support 2021-03-18 20:57:22 -04:00
Marian Buschsieweke
ef205aeb02
boards/nucleo-f767zi: Enable PTP timestamps 2021-01-26 10:44:04 +01:00
AravindKarri
e9691e61c2 boards/nucleo-f767zi: add ADC support 2021-01-24 22:31:38 +01:00
Marian Buschsieweke
a38db4bda3
boards/nucleo-f767zi: Enabeld PTP clock 2020-12-02 17:53:00 +01:00
facb626b02
boards/stm32*: adapt for new stm32 cpu organization 2020-05-20 13:39:10 +02:00
8198c52d17
nucleo-f767zi: add usbdev feature 2020-02-11 15:50:20 +01:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Francisco Molina
644cb9f461 boards: add riotboot for nucleo-f722ze/f746zg/f767zi 2019-08-09 13:15:02 +02:00
9e6d558596
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@chilio.net>
2019-07-04 15:27:50 +02:00
Robin
4729bea46e
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
2019-07-04 15:27:26 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
f153429f69
boards/stm32: add rtt features to stm32f7 based boards 2019-05-23 14:49:39 +02:00
Marian Buschsieweke
61e1068eba
boards/nucleo-f767zi: Add SPI settings 2019-05-21 13:19:42 +02:00
294711d9ba boards/nucleo-f767zi: configure and use DMA 2019-01-08 09:32:18 +01:00
402f02d471 boards/nucleo-f767zi: use STM32 common i2c config 2019-01-02 16:06:34 +01:00
4ae15d18b5 boards/stm32based: remove periph_gpio/irq from board level 2018-12-18 21:51:14 +01:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
The file always exist so no need to do '-include'.

Replaced using:

    sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
        $(git grep -l  '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
31fba044e5 boards/nucleo-f767zi: rename to standard st name 2018-05-23 12:09:28 +02:00