1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 01:23:49 +01:00

47148 Commits

Author SHA1 Message Date
Oleg Hahm
115b8d95ef examples/gnrc_border_router: add DNS option
Introduces two Makefile switches for enabling DNS resolution and
caching.
2025-01-28 19:39:05 +01:00
mguetschow
4321173610
Merge pull request #20982 from Lukas-Luger/pr/nrf802154-beacon
cpu/nrf52/radio/nrf802154: fix beacon acceptance
2025-01-28 18:37:28 +00:00
lulu254b
a5823397bc cpu/nrf52/radio/nrf802154: fix beacon frame acceptance in _l2filter 2025-01-28 19:28:34 +01:00
lulu254b
bef67c8a51 tests/drivers/nrf802154: test if Beacons can be received 2025-01-28 19:28:34 +01:00
mguetschow
e8be6eec09
Merge pull request #21168 from dylad/pr/cpu/sam3/fix_pmc_access
cpu/sam3: fix PMC enable/disable peripheral clock access
2025-01-28 09:13:45 +00:00
mguetschow
e1cd685f16
Merge pull request #21167 from maribu/tests/unittests/nanocoap/invalid_option
tests/unittests: test parsing of out-of-bounds CoAP opt
2025-01-28 09:08:25 +00:00
Dylan Laduranty
b4d061943d cpu/sam3: fix PMC enable/disable peripheral clock access
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2025-01-27 21:38:14 +01:00
Marian Buschsieweke
e64e5cd369
tests/unittests: test parsing of out-of-bounds CoAP opt
This adds a unit test to nanocoap that checks that nanocoap's
`coap_parse()` indeed returns `-EBADMSG` when a CoAP Option exceeds the
packet's boundaries. This is relied upon in the option parsing code
at various places by omitting the bounds checking, so we should better
make sure that bounds checking is done correctly here and those
functions can indeed rely upon bounds checking being done correctly
before.
2025-01-27 18:12:55 +01:00
Kevin "Tristate Tom" Weiss
19cde44b64
Merge pull request #20966 from crasbe/pr/remove_nrf6310
boards/nrf6310: Remove nRF6310 board from RIOT
2025-01-27 10:22:16 +00:00
Dylan Laduranty
0c349340c7
Merge pull request #21164 from maribu/mailmap/maribu
.mailmap: Add more e-mail addresses of maribu
2025-01-27 10:20:17 +00:00
Marian Buschsieweke
9b8a5dded6
.mailmap: Add more e-mail addresses of maribu 2025-01-27 10:43:42 +01:00
Marian Buschsieweke
ec18e54479
Merge pull request #21163 from maribu/sys/net/nanocoap/better-rfc-conformance
sys/net/nanocoap: align request handling with spec
2025-01-26 19:28:51 +00:00
Marian Buschsieweke
9fa2661621
sys/net/nanocoap: align request handling with spec
- Do not reply with a reset message to a reset or an ACK message
- Reply with a reset message when not able to process a CON/NON message
  (not even a suitable error reply)
2025-01-24 22:42:47 +01:00
Marian Buschsieweke
8a51f2dd20
Merge pull request #20624 from maribu/periph/uart/acquire-release
drivers/periph_uart: document acquire/release semantic
2025-01-24 18:28:16 +00:00
mguetschow
71437f2299
Merge pull request #20031 from kfessel/p-test-unix-time
tests/test-rtc: test retrieval of unix-time
2025-01-24 16:20:47 +00:00
Marian Buschsieweke
ebec3258c3
tests/periph/uart: update to API change
Release the UART before acquiring it again to not dead-lock the code
if acquire/release semantics is implemented by the UART peripheral.
2025-01-24 16:50:18 +01:00
Marian Buschsieweke
e1cfa0b2db
drivers/periph_uart: document acquire/release semantic
The UART API has not spelled out what happens when `uart_init()` is
called twice. This adds precise language that states that
acquire/release semantic is to be expected from the caller. Hence,
a caller needs to call `uart_poweroff()` before reconfiguring the UART
with a second call `uart_init()` for the same UART interface.

In practise, few apps will ever reconfigure the symbol rate. So the
impact is rather low.

However: This API now allows drivers to implement sharing of a serial
peripheral that can provide multiple interfaces (e.g. UART, SPI, I2C,
etc.). It would require some cooperation from the code that does use
the UART to actually release the UART again after each transaction;
something that will only work when RX data is only expected at
known points in time (e.g. in response to a request, or never in case
of TX only stdio). But still, this can mean the difference between
a use case becoming feasible on an MCU with a low number of serial
peripherals or not.
2025-01-24 16:46:24 +01:00
Karl Fessel
254d1336d3 tests/test-rtc: test retrieval of unix-time 2025-01-24 16:35:17 +01:00
benpicco
95c0a62d5b
Merge pull request #21162 from maribu/sys/tiny_strerror/fix-compilation-picolibc-ubuntu
sys/tiny_strerror: fix compilation with picolibc on Ubuntu
2025-01-24 13:10:00 +00:00
Marian Buschsieweke
28caf32e98
sys/tiny_strerror: fix compilation with picolibc on Ubuntu
The picolibc shipped in Ubuntu does not provided non-POSIX errnos
by default. If the errno codes are not provided, we can also not
provide corresponding strings.

This guards the effected strings corresponding to non-POSIX errnos
behind `#ifdef`, so that they are only provided when the corresponding
errno is.
2025-01-24 12:05:00 +01:00
benpicco
139404df35
Merge pull request #21147 from maribu/sys/net/nanocoap/observe
sys/net/nanocoap: Implement Observe (Server-Side)
2025-01-23 15:49:26 +00:00
Marian Buschsieweke
feeb68470f
sys/net/nanocoap: implement observe
This adds the new `nanocoap_server_observe` module that implements the
server side of the CoAP Observe option. It does require cooperation
from the resource handler to work, though.

Co-Authored-By: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: benpicco <benpicco@googlemail.com>
2025-01-23 14:25:39 +01:00
Marian Buschsieweke
1c7ba9e055
sys/net/nanocoap: improve separate response handling
This allows sending a separate response with CoAP Options and adds a
helper to detect duplicate requests, so that resource handlers can
repeat their empty ACK on duplicates.
2025-01-23 14:25:02 +01:00
benpicco
90cb5e5c34
Merge pull request #21157 from benpicco/CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED-deprecate
gnrc/ipv6/nib: make `CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED` the default & deprecate it
2025-01-23 13:20:38 +00:00
mguetschow
89c2002ec7
Merge pull request #21156 from maribu/gitignore/gdb_history
.gitignore: add .gdb_history
2025-01-23 12:58:08 +00:00
Benjamin Valentin
2374b9e2f1 gnrc/ipv6/nib: deprecate CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED
This should just be the only behavior of CONFIG_GNRC_IPV6_STATIC_LLADDR.
2025-01-23 13:32:45 +01:00
Benjamin Valentin
28016ee416 gnrc/ipv6/nib: make CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED the default
The auto-increment is very surprising and no actual use-cases for it are known.
2025-01-23 13:32:31 +01:00
Marian Buschsieweke
41cb1cc5a1
.gitignore: add .gdb_history
When using gdb-dashboard, GDB by default writes the history in the
folder where `make debug` was executed (e.g. the application folder).

The GDB history will never be useful to upstream, so let's ignore it.
2025-01-23 11:54:30 +01:00
crasbe
fc39240d08 LOSTANDFOUND.md: update with boards/nrf6310 2025-01-22 16:05:59 +01:00
crasbe
80e94a5906 tests/*: remove nRF6310 board 2025-01-22 16:01:42 +01:00
crasbe
68281c6f69 examples/*: remove nRF6310 board 2025-01-22 16:01:42 +01:00
crasbe
77162f78a3 boards/nrf6310: remove board 2025-01-22 16:01:42 +01:00
Martine Lenders
adecba2481
Merge pull request #21154 from crasbe/pr/fix_LOSTANDFOUND
LOSTANDFOUND.md: add missing URL, fix Markdown typo
2025-01-21 17:09:44 +00:00
crasbe
b140a941d6 LOSTANDFOUND.md: add missing URL, fix Markdown typo 2025-01-21 16:43:08 +01:00
Kevin "Tristate Tom" Weiss
297f7fe1d5
Merge pull request #21153 from miri64/release-tests/fix/grenoble-host-key
release-test.yml: also fetch host key from grenoble
2025.01-RC1 2025.04-devel
2025-01-21 13:37:19 +00:00
Martine Lenders
b87b62c5d5
release-test.yml: also fetch host key from grenoble 2025-01-21 14:24:33 +01:00
Martine Lenders
838321c138
release-test.yml: Consolidate release tests into one step 2025-01-21 14:16:37 +01:00
Kevin "Tristate Tom" Weiss
9fc5a92587
Merge pull request #21146 from MrKevinWeiss/pr/remotewaspmote
boards/waspmote-pro: Remove after the deprecation period
2025-01-20 21:38:54 +00:00
Marian Buschsieweke
e3cfff5211
Merge pull request #21145 from maribu/tests/drivers/candev
tests/drivers/candev: prefer periph_can when available
2025-01-20 21:21:22 +00:00
MrKevinWeiss
ee6dd34bfa
LOSTANDFOUND.md: Add waspmote-pro 2025-01-20 20:55:22 +01:00
MrKevinWeiss
b5dadde19b
boards/waspmote-pro: Remove after the deprecation period 2025-01-20 20:55:21 +01:00
Kevin "Tristate Tom" Weiss
1a23b1a606
Merge pull request #21143 from benpicco/pkg/littlefs2-bump
pkg/littlefs2: bump version to v2.10.1
2025-01-20 17:49:43 +00:00
Kevin "Tristate Tom" Weiss
ea2818d29e
Merge pull request #21140 from maribu/CODING_CONVENTIONS.md/std-c-exceptions
CODING_CONVENTIONS.md: Elaborate on C11 compliance
2025-01-20 16:23:40 +00:00
Kevin "Tristate Tom" Weiss
a3836cfdd2
Merge pull request #21097 from benpicco/riotboot/minimal
bootloaders/riotboot: don't change CPU/pin state
2025-01-20 16:20:01 +00:00
Benjamin Valentin
c6aaeb1f49 pkg/littlefs2: bump version to v2.10.1 2025-01-20 16:29:04 +01:00
Marian Buschsieweke
e68d69f85e
tests/drivers/candev: prefer periph_can when available
This changes the app config to prefer periph_can whenever that feature
is provided, and fall back to mcp2515 as default if not.
2025-01-20 15:55:53 +01:00
benpicco
716333bc20
Merge pull request #21141 from krzysztof-cabaj/nucleo-f412zg-MCU
boards/nucleo-f412zg: add MCU table to doc page
2025-01-20 13:40:31 +00:00
Martine Lenders
0f781ed4d9
Merge pull request #21067 from miri64/GOVERNANCE.md/doc/initial
GOVERNANCE.md: remove “Community Processes” in favor of “GOVERNANCE.md”
2025-01-20 13:38:14 +00:00
Kevin "Tristate Tom" Weiss
c979eb7b59
Merge pull request #21142 from MrKevinWeiss/pr/cireleasetest
.github/workflows/release-test.yml: Fix upload-artifact
2025-01-20 13:35:18 +00:00
Martine Lenders
acb81c8241
README.md: Add a link to GOVERNANCE.md 2025-01-20 14:01:32 +01:00