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

32145 Commits

Author SHA1 Message Date
8df645cfe9
Merge pull request #15011 from benpicco/picolobc_feature
picolibc: model as a feature
2020-10-14 17:02:04 +02:00
Benjamin Valentin
45270dada0 cpu/fe310: blacklist picolibc on CI
The RISC-V toolchain in riotdocker has issues with picolibc and
will still include newlib headers.

This leads to conflicts like

```
In file included from [01m[Knanostubs.c:22[m[K:
[01m[K/usr/local/picolibc/riscv-none-embed/include/stdio.h:270:23:[m[K [01;31m[Kerror: [m[Kconflicting types for '[01m[K__FILE[m[K'
 typedef struct __file [01;31m[K__FILE[m[K;
                       [01;31m[K^~~~~~[m[K
In file included from [01m[K/opt/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-2.2-20190521-0004/riscv-none-embed/include/reent.h:93[m[K,
                 from [01m[Knanostubs.c:20[m[K:
[01m[K/opt/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-2.2-20190521-0004/riscv-none-embed/include/sys/reent.h:287:26:[m[K [01;36m[Knote: [m[Kprevious declaration of '[01m[K__FILE[m[K' was here
 typedef struct __sFILE   [01;36m[K__FILE[m[K;
                          [01;36m[K^~~~~~[m[K
```

The problem does not occur when installing both the toolchain and picolibc
directly from the Debian / Ubuntu repositories, but CI uses an older Ubuntu
version that does not have those packages yet, so it builds them manually.

Blacklist RISC-V until CI has been updated.
2020-10-14 16:32:01 +02:00
Martine Lenders
ac097bb73d
Merge pull request #15227 from kYc0o/pr-remove_event_netdev_t_gnrc_netif
gnrc_netif: remove unused `event_netdev_t` struct
2020-10-14 15:45:55 +02:00
Francisco Acosta
05b089b3c4 gnrc_netif: remove unused event_netdev_t struct 2020-10-14 14:46:35 +02:00
Hauke Petersen
d5b89a5795
Merge pull request #15224 from haukepetersen/fix_board_particlemeshspi
boards/common/particle-mesh: fix SPI configuration
2020-10-14 13:26:58 +02:00
Hauke Petersen
855148b28f boards/common/particle-mesh: fix SPI configuration 2020-10-14 12:44:31 +02:00
632a3613b5
Merge pull request #14413 from aabadie/pr/mips/toolchain_update_adapt
mips: adapt for toolchain update (2020.06-01)
2020-10-13 20:47:35 +02:00
benpicco
bdf82eddc6
Merge pull request #15221 from nmeum/pr/netif-deadlock
gnrc_netif: add missing gnrc_netif_release() to early return
2020-10-13 19:03:39 +02:00
c40f0a5b43
cpu/mips: remove never used load memory address 2020-10-13 18:57:39 +02:00
dcc2982b27
cpu/mips: fix build error raised by a fallthrough warning 2020-10-13 18:57:38 +02:00
581c97bbcf
cpu/mips: skip pthread types provided by the toolchain 2020-10-13 16:27:59 +02:00
ee2679ff70
Merge pull request #15220 from aabadie/pr/tools/insufficient_memory_enh
tools/insufficient_memory: improve error handling and output
2020-10-13 16:05:21 +02:00
6c63e1b6c4
tools/insufficient_memory: improve error handling and output 2020-10-13 15:37:50 +02:00
Cenk Gündoğan
f05ac07f19
Merge pull request #15217 from leandrolanzieri/pr/kconfig/allow_merge_configs
makefiles/kconfig: always allow to use KCONFIG_ADD_CONFIG
2020-10-13 15:11:09 +02:00
benpicco
4852c09027
Merge pull request #15058 from benpicco/feature_stdio_highlevel
boards: remove the bootloader_% pseudo-feature, replace it with highlevel_stdio
2020-10-13 14:25:03 +02:00
d92f280add
Merge pull request #15211 from miri64/gnrc_tcp/cleanup/utlist-pkt-func
gnrc_tcp: use gnrc_pktsnip_search_type() to search for snips
2020-10-13 13:18:02 +02:00
Cenk Gündoğan
0741f161ae
Merge pull request #15198 from leandrolanzieri/pr/kconfig/add_error_symbols
Kconfig: add error symbols and makefile check
2020-10-13 13:09:42 +02:00
Martine Lenders
d105a67b9f
gnrc_tcp: use gnrc_pktsnip_search_type() to search for snips 2020-10-13 11:37:34 +02:00
Benjamin Valentin
a863a43207 kconfigs: replace BOOTLOADER_% feature with HIGHLEVEL_STDIO 2020-10-13 10:30:22 +02:00
Benjamin Valentin
d0e726242d tests: blacklist highlevel_stdio instead of bootloader_% 2020-10-13 10:30:22 +02:00
Benjamin Valentin
971f0f6fee boards: remove the bootloader_% pseudo-feature
This feature is only used to blacklist stdio via CDC ACM.
Introduce the `highlevel_stdio` feature instead to indicate
that stdio functionality requires a running thread to print
anything
2020-10-13 10:30:22 +02:00
Leandro Lanzieri
4d7ea1b50a
makefiles/kconfig: always allow to use KCONFIG_ADD_CONFIG 2020-10-13 09:53:00 +02:00
Sören Tempel
af03cd8f4f gnrc_netif: add missing gnrc_netif_release() to early return
The gnrc_netif_ipv6_addr_add_internal() function unconditionally
acquires the global netif rmutex lock but doesn't release this lock on
this specific path (i.e. if gnrc_netif_ipv6_group_join_internal failed).
This can cause a deadlock as no other thread will afterwards be capable
of acquiring the netif lock.
2020-10-13 04:42:52 +02:00
benpicco
2df92b0d61
Merge pull request #15215 from btcven/2020_10_12-ccfg-xosc
cpu/cc26xx_cc13xx: fix typo on XOSC selection
2020-10-12 22:52:40 +02:00
Jean Pierre Dudey
ca126593e9 cpu/cc26x2_cc13x2: fix boolean logic for osc change
Small typo on the loop that checks that the oscillator is ready to be
changed.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-10-12 14:41:19 -05:00
Jean Pierre Dudey
becca71caf cpu/cc26xx_cc13xx: fix typo on XOSC selection
> Fixes a typo on XOSC selection bitfield that would
make the CPU crash when changing it.
> Sets the other fields to their default values.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-10-12 14:37:55 -05:00
José Alamos
2de78a9862
Merge pull request #15210 from benpicco/ieee802154_submac-ack_req
netdev/ieee802154_submac: enable ACK_REQ by default
2020-10-12 16:46:48 +02:00
Benjamin Valentin
bb546835a1 netdev/ieee802154_submac: enable ACK_REQ
One of the features of the sub-MAC is to allow for ACK-handling in
software.
So enable the use of ACKs by default, just like the netdev drivers do
that support this feature in hardware.
2020-10-12 15:49:34 +02:00
benpicco
c1b0e47e98
Merge pull request #15200 from maribu/mii
drivers: Add utilities for Ethernet Media-Independent Interface (MII) and use them in STM32 `periph_eth`
2020-10-12 13:28:35 +02: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
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
Leandro Lanzieri
fe6d66d92a
kconfig: add ERROR symbol for conflicting modules 2020-10-09 18:04:17 +02:00
Leandro Lanzieri
34d84ad8c6
makefile: add check for ERROR_ Kconfig symbols
This adds a check in the build process to verify that no ERROR_ Kconfig
symbols are set. These symbols indicate invalid conditions in the
Kconfig configuration.
2020-10-09 18:01:33 +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