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

32222 Commits

Author SHA1 Message Date
Marian Buschsieweke
c38ca6d718
Merge pull request #15212 from miri64/gnrc_pkt/enh/pkt-list-ops
gnrc_pkt: introduce packet list operations
2020-10-15 12:13:03 +02:00
9b33d8da9a
Merge pull request #15229 from benpicco/boards/microduino-corerf-bl
boards/microduino-corerf: don't set bootloader size
2020-10-15 08:18:36 +02:00
Benjamin Valentin
c29825a173 boards/microduino-corerf: don't set bootloader size
This already gets set by `common/atmega/Makefile.include`.
Setting it in the board prevents auto-selection if a bootloader
is used.
2020-10-14 23:37:42 +02:00
benpicco
ab8ec91f1f
Merge pull request #15225 from Nishchay-sopho/drivers/scd30/add_soft_reset
drivers/scd30: Add reset function to Sensirion scd30 sensor
2020-10-14 20:52:51 +02:00
Jose Alamos
b796d9805d ieee802154/submac: adapt to radio hal API change 2020-10-14 18:07:28 +02:00
Jose Alamos
ee5adad401 ieee802154/radio: replace indication mechanism 2020-10-14 18:07:28 +02:00
Martine Lenders
f2e1c1ac87
Merge pull request #15209 from brummer-simon/gnrc_tcp-cleanup_debug_messages
gnrc_tcp: Overhaul all debug messages
2020-10-14 17:42:19 +02:00
8df645cfe9
Merge pull request #15011 from benpicco/picolobc_feature
picolibc: model as a feature
2020-10-14 17:02:04 +02:00
Simon Brummer
0cc06a5993 gnrc_tcp: Overhaul all debug messages 2020-10-14 16:58:53 +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
Nishchay-sopho
eb1064eef4 drivers/scd30: Add reset function to Sensirion scd30 sensor 2020-10-14 15:07:01 +02:00
Francisco Acosta
05b089b3c4 gnrc_netif: remove unused event_netdev_t struct 2020-10-14 14:46:35 +02:00
044acf1175
cpu/stm32: enable power overdrive on f4 and f7
This is only enabled if the HCLK clock is above 168MHz on F4 and 180MHz on f7
2020-10-14 13:36:20 +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
Akshai M
2c526a7d29 net/lorawan : Expose to Kconfig
Expose LORAMAC_REGION_XX_XXX to Kconfig as a choice
2020-10-14 00:16:47 +05:30
Akshai M
2af79830f2 examples/gnrc_lorawan : Update README.md and Makefile
README.md : Update
Makefile : Add configuration to set region.
2020-10-14 00:16:47 +05:30
Akshai M
1ef362edea drivers/sx127x : Improve debugging 2020-10-14 00:16:47 +05:30
Akshai M
1a54238244 gnrc/lorawan : Improve debugging
gnrc_lorawan.c, gnrc_lorawan_mlme.c : Add additional debug
statements
net/gnrc/lorawan/region.h : Added debug statements
2020-10-14 00:16:47 +05:30
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
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros 2020-10-13 13:32:53 +02:00
Martine Lenders
d491e827fb
gnrc_pkt: introduce packet list operations
Up until now `utlist.h` is used to manipulate the packet list within a
GNRC pkt snip. Since I always wanted to see if there would be an
advantage when using `core`'s `list.h`, I provide this
`gnrc_pktsnip_t`-specific API to manipulate the packet list. It has the
additional advantage of type safety and that future steps could
encapsulate those operations.
2020-10-13 13:32:53 +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
Akshai M
874d7d15cb gnrc/lorawan : Add RX1DROffset for IN865 region
Co-authored-by: José Alamos <jialamos@uc.cl>
2020-10-13 13:40:49 +05:30
Akshai M
35e9612d02 gnrc/lorawan : Add IN_865 channel frequencies 2020-10-13 13:38:19 +05:30
Akshai M
d23441f740 net/lorawan : Add support for IN865 Channel
Add CONFIG_LORAMAC_REGION_EU_868 and CONFIG_LORAMAC_REGION_IN_865.
Define xx_RX2_DR and xx_RX2_FREQ. Update documentation.
2020-10-13 13:38:19 +05:30
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