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

52 Commits

Author SHA1 Message Date
krzysztof-cabaj
9ecbeae90e boards/nucleo144-f2: add pinout source 2024-09-09 14:03:45 +02:00
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
krzysztof-cabaj
ec6de471d6 boards/nucleo144: add pinout to doc for f207, f429, f439 and f767 2024-04-23 12:10:22 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
krzysztof-cabaj
cfd0183f60 boards/nucleo-f207zg: add ADC support 2022-11-04 18:02:28 -04:00
Gunar Schorcht
990feeec39 boards: enable feature tinyusb_device for STM32 boards 2022-09-30 19:05:51 +02:00
Leandro Lanzieri
1716638792
cpu/stm32/periph_eth: model in Kconfig 2022-07-25 11:08:32 +02:00
krzysztof-cabaj
82200744c7 boards/nucleo144: fix all memory sizes to KiB and MiB 2022-07-04 14:03:44 -04:00
krzysztof-cabaj
162676be3d boards/nucleo-f207zg: add cpy2remed flashhing commands 2022-06-27 08:19:10 -04:00
Fabian Hüßler
9163d78910 boards: add VBAT for stm32 based boards with ADC 2022-02-21 10:49:43 +01:00
1793fb6c00
boards/nucleo-f207zg: fix nucleo common Kconfig 2021-01-21 16:20:42 +01:00
de37259c64
boards/nucleo-*: put Kconfig HSE/LSE clock config in common 2021-01-20 09:16:46 +01:00
342df4bf37
boards/nucleo-f207zg: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
Benjamin Valentin
0ed34cdb4d cpu/stm32: periph_eth: drop addr from eth_conf_t
MAC address is now supplied by EUI provider, no need to hard-code
it for the board.
2020-11-29 23:11:14 +01:00
39e06babf5
boards/stm32: use generic clk_conf.h header 2020-10-27 08:44:56 +01:00
Marian Buschsieweke
bedddce263
boards/nucleo-{f207zg,f746zg,f767zi}: periph_eth
Use shared MII register definitions from mii.h rather than own definitions.
2020-10-12 08:46:20 +02:00
Marian Buschsieweke
a30872bec1
boards/nucleo-{f207zg,f746zg,f767zi}: periph_conf
Fix PHY address in eth_config. It should be 0 for these boards, not 1. This is
why previously the link status read out worked with an hard code PHY address
0 before.

Some dubious references for 0 being the correct PHY address and not 1 (in
absence of proper references):

https://www.carminenoviello.com/2016/01/22/getting-started-stm32-nucleo-f746zg/
https://community.st.com/s/question/0D50X00009XkgfISAR/stm32f767-nucleo-ethernet-not-working
2020-10-09 20:20:54 +02:00
8625e33d78
boards/nucleo-f207zg: use new clock configuration scheme 2020-10-06 16:10:05 +02:00
Marian Buschsieweke
fdeb5d7eda
boards/nucleo-{f207zg,f756zg,f767zi}: Update periph_conf.h
Rename `mac` --> `addr` (as done in header)
2020-10-05 16:04:25 +02:00
hugues
2179e38fa8 boards/nucleo-f207zg: declare adc_config[] directly in periph_conf.h 2020-08-27 03:56:26 +02:00
ce05711498
nucleo-f207zg: remove obsolete spi_divtable 2020-08-18 16:55:04 +02:00
Marian Buschsieweke
51fe77afa4
cpu/stm32/periph_eth: configurable buffer size
1. Move buffer configuration from boards to cpu/stm32
2. Allow overwriting buffer configuration
    - If the default configuration ever needs touching, this will be due to a
      use case and should be done by the application rather than the board
3. Reduce default RX buffer size
    - Now that handling of frames split up into multiple DMA descriptors works,
      we can make use of this

Note: With the significantly smaller RX buffers the driver will now perform
much worse when receiving data at maximum throughput. But as long as frames
are small (which is to be expected for IoT or boarder gateway scenarios) the
performance should not be affected.
2020-08-17 20:29:29 +02:00
5615b0c027
boards/nucleo-*: model features in Kconfig 2020-07-16 11:34:02 +02:00
97f98dcace
boards/stm32: remove useless ifdef around DMA config 2020-05-25 13:23:20 +02:00
facb626b02
boards/stm32*: adapt for new stm32 cpu organization 2020-05-20 13:39:10 +02:00
Benjamin Valentin
dc58ef59ae boards: remove duplicate gnrc_netdev_default from Makefile.dep
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both in `Makefile.dep`
2020-05-05 09:58:45 +02:00
Francois Berder
d28fb30797 boards: nucleo-f207zg: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:35:54 +00:00
Dylan Laduranty
a2d63070ae
Merge pull request #13347 from francois-berder/boards-fpu
boards: Fix presence of FPU
2020-02-12 09:12:57 +01:00
Francois Berder
c76f0e1489 boards: Fix presence of FPU
Cortex-M0, Cortex-M0+ and Cortex-M3 MCU never have a FPU.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-11 18:30:29 +00:00
3280248e89
nucleo-f207zg: add usbdev feature 2020-02-11 15:50:18 +01:00
Wouter
3072900ed6 boards/nucleo-f207zg: add Ethernet config 2019-11-26 11:11:41 +01:00
Yannick Gicquel
d37adee32d boards/stm32-based: allow SPI signals routed on multiple alternate functions
There is no hardware limitation for custom boards based on STM32 to uses
SPI bus with signals coming from different PORT and alternate functions.

This patch allow alternate's function definition per pin basis, thus enable
the support of SPI bus signals routed on differents PORT.

Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2019-10-25 06:27:41 +02: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
6f14de38c5
Merge pull request #11900 from fjmolinas/pr_stm32f2_riotboot_requirements
cpu/stm32f2: add riotboot requirements
2019-08-09 11:06:49 +02:00
Francisco Molina
7231088b7c boards/nucleo-f207zg: add riotboot 2019-08-07 18:34:48 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines 2019-08-05 11:08:53 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
8d1a0ae074
boards: revert forced use of periph_dma with STM32
The periph_dma is not pulled in automatically for all applications.
Applications willing to use the configured peripherals with periph_dma
for a given board will have to include the feature explictly in their
Makefile.

It was causing unrelated issues as threads got de-scheduled while
calling printf and this was not handled properly in tests at that
moment.
2019-01-21 15:14:28 +01:00
3a5c9cb921 boards/nucleo-f207zg: configure and use DMA 2019-01-08 09:32:18 +01:00
3eba44a660 boards/nucleo-f0207zg: use common clock and i2c configuration 2019-01-02 14:29:26 +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
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
Jose Alamos
2531487fca boards/periph_conf: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00