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

32111 Commits

Author SHA1 Message Date
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
6294382627
cpu/stm32: Use mii.h for periph_eth
Use shared MII definitions and utilities instead own definitions.
2020-10-12 08:46:20 +02:00
Marian Buschsieweke
33d916b237
drivers/mii: Media-Independent Interface utils
Add utilities for working with Ethernet Media-Independent Interface for use by
Ethernet drivers.
2020-10-12 08:46:20 +02:00
benpicco
94e78cd1dd
Merge pull request #15193 from maribu/stm32_eth_fix
cpu/stm32: Fix & cleanup periph_eth
2020-10-11 21:40:36 +02:00
benpicco
08621f67b4
Merge pull request #15204 from janosbrodbeck/pr/typo_tinydtls
tinydtls: fix minor typo in comment
2020-10-10 14:10:55 +02:00
János Brodbeck
ffb80ab6b6
tinydtls: fix minor typo in comment 2020-10-10 13:05:46 +02:00
Martine Lenders
856f5925f0
Merge pull request #15202 from janosbrodbeck/pr/sock_dtls/fix_return
net/sock/dtls: fix return value of sock_dtls_session_create()
2020-10-10 12:37:18 +02:00
János Brodbeck
4e35f473a4
sock/dtls: fix return value of sock_dtls_session_create() 2020-10-09 23:12:05 +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
Marian Buschsieweke
0e43c927b1
cpu/stm32: Fix/cleanup periph_eth
The methods to read from / write to MII registers had an address argument to
allow specifying the PHY to communicate with. However, only a single PHY is
available on all boards supported and the driver is not able to operate with
multiple PHYs anyway - thus, drop this parameter for ease of use.

This fixes a bug in the _get_link_status() function, which used hard coded the
address 0; which might not be correct for all boards.
2020-10-09 20:20:54 +02:00
benpicco
c21b72b5e8
Merge pull request #15186 from leandrolanzieri/pr/esp/fix_linker_scripts
cpu/esp*: fix linker scripts
2020-10-09 16:25:09 +02:00
ae4fc820ff
Merge pull request #15195 from fjmolinas/pr_blacklist_native
tets/ztimer_periodic: blacklist native
2020-10-09 15:20:19 +02:00
benpicco
00062892d4
Merge pull request #15129 from aabadie/pr/cpu/stm32_models_generator
cpu/stm32: add script to generate Kconfig.models and Kconfig.lines files
2020-10-09 14:51:03 +02:00
benpicco
3384c327a7
Merge pull request #15194 from miri64/gnrc_netif_raw/fix/netif-hdr
gnrc_netif_raw: add NETIF header on receive
2020-10-09 14:35:54 +02:00
Leandro Lanzieri
b897637dba
tests: remove esp32-wroom-32 from blacklist of mtd using tests
This reverts commit d59fd84bff.
2020-10-09 13:29:55 +02:00
Leandro Lanzieri
eb2655b622
cpu/esp8266/ld: use folder name instead of archive for module objects 2020-10-09 13:29:55 +02:00
Leandro Lanzieri
837ddf6d8c
cpu/esp32/ld: use folder name instead of archive for module objects 2020-10-09 13:29:51 +02:00
Francisco Molina
7b38d0865f
tets/ztimer_periodic: blacklist native 2020-10-09 13:05:22 +02:00
72efa9c7a5
boards/weact-f411ce: adapt CPU model 2020-10-09 12:39:22 +02:00
42067b0091
cpu/stm32/kconfig: restore features provided at cpu lines level 2020-10-09 12:39:22 +02:00
87f2f7ab99
cpu/stm32wb: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
85a3167e4f
cpu/stm32l4: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
841f500477
cpu/stm32l1: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
11f3f2de74
cpu/stm32l0: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
e8479b8cb5
cpu/stm32g4: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
f223516a39
cpu/stm32g0: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
7a510c08ff
cpu/stm32f7: extend Kconfig cpu lines and models 2020-10-09 12:39:22 +02:00
1c63b79a6d
cpu/stm32f4: extend Kconfig cpu lines and models 2020-10-09 12:39:21 +02:00
2c0930a3e7
cpu/stm32f3: extend Kconfig cpu lines and models 2020-10-09 12:39:21 +02:00
3d0c91d486
cpu/stm32f2: extend Kconfig cpu lines and models 2020-10-09 12:39:21 +02:00
3c08d564eb
cpu/stm32f1: extend Kconfig cpu lines and models 2020-10-09 12:39:21 +02:00
2490e01445
cpu/stm32f0: extend Kconfig cpu lines and models 2020-10-09 12:39:21 +02:00
06c3361a15
cpu/stm32/dist: add generator for kconfig cpu lines and models 2020-10-09 12:39:21 +02:00
Martine Lenders
6991ad5910
gnrc_netif_raw: add NETIF header on receive
... to give upper layer a hint on the interface the packet came from.
2020-10-09 11:51:18 +02:00
benpicco
a83927d031
Merge pull request #15189 from fjmolinas/pr_lwip_sock_tcp_xtimer_init
tests/lwip_sock_tcp: remove duplicated xtimer_init
2020-10-08 22:55:59 +02:00
benpicco
c979fda1f3
Merge pull request #14367 from basilfx/feature/cortex_m33
cpu/cortex: add initial support for Cortex-M33
2020-10-08 22:55:06 +02:00
Francisco Molina
7ec1d2ecb7
tests/lwip_sock_tcp: remove duplicated xtimer_init
xtimer is already initiated in auto_init, no need to perform
initiation twice.
2020-10-08 16:26:17 +02:00
benpicco
f6e75494bb
Merge pull request #15184 from maribu/stm32-eth-cleanup
cpu/stm32: Cleanup periph_eth
2020-10-08 15:44:06 +02:00
Martine Lenders
453403cc8f
Merge pull request #15083 from benpicco/drivers/enc28j60-regster
drivers/enc28j60: register with netdev
2020-10-08 15:39:31 +02:00
Martine Lenders
b11acf1940
Merge pull request #15155 from benpicco/gnrc/rpl-TODO
gnrc/rpl: document implementation status
2020-10-08 13:35:06 +02:00
Benjamin Valentin
868c07158e gnrc/rpl: document implementation status
This copies the information from #3662 to the documentation.
Makes it more discoverable and let's people manage their
expectations.
2020-10-08 12:10:05 +02:00
Marian Buschsieweke
7b4d4c198b
cpu/stm32/periph_eth: Code style 2020-10-08 11:46:39 +02:00
Marian Buschsieweke
ab30865a08
cpu/stm32: Cleanup periph_eth
Cleanup functions _rw_phy(), _phy_read(), and _phy_write() and rename them to
_mii_reg_{access,read,write}().
2020-10-08 11:46:39 +02:00
Benjamin Valentin
1afe72a5e5 drivers/enc28j60: register with netdev 2020-10-08 10:36:56 +02:00
benpicco
ab37c9fba1
Merge pull request #14949 from benpicco/drivers/mrf24j40-register
drivers/mrf24j40: register with netdev
2020-10-08 10:33:37 +02:00
Francisco
3918d714ce
Merge pull request #13624 from wosym/pr/candev_mcp2515
tests/candev: add mcp2515 + driver/mcp2515: add driver
2020-10-08 09:45:40 +02:00
Francisco
9fee9502ca
Merge pull request #15180 from aabadie/pr/cpu/stm32_gen_irq_fix
cpu/stm32/irqs: fix regexp in vectors generator script
2020-10-08 09:29:12 +02:00
Francisco Molina
178c1264e3
board/native: include can_linux based on periph_can 2020-10-08 09:09:04 +02:00
3e1fa30c2f
cpu/stm32/irqs: fix vectors generator script 2020-10-08 08:09:31 +02:00
b9e4f13cba
Merge pull request #15177 from aabadie/pr/boards/nucleo-l152re_dma_fix
boards/nucleo-l152re: fix DMA configuration
2020-10-07 22:30:02 +02:00