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

67 Commits

Author SHA1 Message Date
krzysztof-cabaj
911cc15129 boards/nucleo144-f7: add source to pinouts 2024-09-10 17:30:16 +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
krzysztof-cabaj
2bf93b6fed boards/nucleo144: fix I2Cs row name in MCU tables 2024-05-24 11:02:14 +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
Joshua DeWeese
4ed36bf871 boards/nucleo-f767zi: increase ADC clock speed
This patch increases the board's ADC clock speed to the MCU's maximum
speed.
2024-05-10 22:07:11 -04:00
krzysztof-cabaj
5f5181e36d boards/nucleo-f767zi: fix missing ending bracket in ADCs descritpion 2024-05-06 11:11:57 +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
krzysztof-cabaj
f648886d87 boards/nucleo-f767zi: doc update 2024-04-08 14:16:22 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01: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
Leandro Lanzieri
1716638792
cpu/stm32/periph_eth: model in Kconfig 2022-07-25 11:08:32 +02:00
krzysztof-cabaj
f9ca5bdc3d boards/nucleo-f412zg: add short board doc and flashing commands 2022-07-04 14:03:55 -04:00
krzysztof-cabaj
c9441272e4 boards/nucleo-f767zi:short board info and cpy2remed flashing command 2022-07-04 14:01:48 -04:00
Fabian Hüßler
9163d78910 boards: add VBAT for stm32 based boards with ADC 2022-02-21 10:49:43 +01:00
Fabian Hüßler
4e8c979e7d boards/nucleo-f767zi: fix adc_config indentation 2022-02-20 09:44:41 +01:00
Stefan Strell
ccf31eb15d boards/nucleo-f767zi: Fix adc pin config in periph_conf.h 2022-01-24 18:12:25 +01:00
796e127df9
boards/stm32: replace GPIO_UNDEF with SPI_CS_UNDEF 2022-01-06 12:34:09 +01: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
de37259c64
boards/nucleo-*: put Kconfig HSE/LSE clock config in common 2021-01-20 09:16:46 +01:00
551eb80498
boards/stm32f7*: add Kconfig clock configuration 2021-01-19 22:09:17 +01:00
Marian Buschsieweke
a38db4bda3
boards/nucleo-f767zi: Enabeld PTP clock 2020-12-02 17:53:00 +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
e1ee49ebe2
boards/stm32f7*: 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
2fad084504
nucleo-f767zi: remove obsolete spi_divtable include 2020-08-18 16:55:07 +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
cf6ab10abc
Merge pull request #13861 from maribu/nucleo-f767-spi
boards/nucleo-f767zi: Fix SPI config
2020-05-19 21:00:11 +02:00
Marian Buschsieweke
f56a0a5128
boards/nucleo-f767zi: Remap MOSI of SPI1 when used with stm32_eth
PA7 is the default MOSI pin, as it is required for compatibility with
Arduino(ish) shields. Sadly, it is also connected to the RMII_DV of
Ethernet PHY. This commit works around this by remapping the MOSI to PB5 when
the on-board Ethernet PHY is used.
2020-05-19 20:30:24 +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
Karl Fessel
979b4d5cf7 Revert "boards/nucleo-f767zi: add correct flash bank openocd config"
This reverts commits:
    - 1dec5ba61b
    - 53f60db66f
2020-02-28 13:51:58 +01:00
8198c52d17
nucleo-f767zi: add usbdev feature 2020-02-11 15:50:20 +01:00
Francisco Molina
1dec5ba61b boards/common/stm32f7: add correct flash bank configuration
openocd configuration file for `stm32f7` relies on probing to find out
FLASH_ADDR. On nucleo-f767zi board probing (`flash probe 0`) fails when
`srst` is asserted, but `srst` needs to be asserted to be able to flash
the `BOARD` when sleeping or after a hardfault.

To circumvent this in boards/common/stm32/dist/stm32f7.cfg we define a new
flash bank with the appropriate fash start address and specify that this is
the flash bank to be used as default configuration instead of the
default by setting FLASH_BANK=4
2020-01-27 22:32:06 +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
9cf8da0287
Merge pull request #11899 from fjmolinas/pr_stm32f7_riotboot_requirements
cpu/stm32f7: add riotboot requirements
2019-08-09 15:36:50 +02:00
Francisco Molina
644cb9f461 boards: add riotboot for nucleo-f722ze/f746zg/f767zi 2019-08-09 13:15:02 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Francisco
b8cd3c0724
Merge pull request #11809 from aabadie/pr/boards/stm32_timer_conf_common
boards/stm32: introduce common timer configurations and use them where possible
2019-08-06 17:07:22 +02:00
e7e3f15d5d
boards/nucleo-f0/3/7: use common timer configuration 2019-08-05 15:00:11 +02:00