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

45330 Commits

Author SHA1 Message Date
Fabian Hüßler
3167d58e0d pkg/flashdb: add configurable sector size 2024-02-08 20:48:14 +01:00
Marian Buschsieweke
26946a721b
Merge pull request #20360 from maribu/stm32-adc-typo
cpu/stm32/periph_adc: fix register access
2024-02-08 16:31:46 +00:00
Joshua DeWeese
fa7a577728 tests/unittests: add test for ABS() macro 2024-02-08 10:56:11 -05:00
Joshua DeWeese
b1cb2435d8 tests/unittests: add unit test for LIMIT() macro 2024-02-08 10:56:00 -05:00
Joshua DeWeese
8e3bbca8b5 tests/unittests: add tests for MAX()/MIN() macros 2024-02-08 10:55:37 -05:00
Joshua DeWeese
c3a4beb200 treewide: make use of new IPv4 static init macro
This commit makes use of the newly added static initializer for IPv4
addresses.
2024-02-08 10:14:24 -05:00
Joshua DeWeese
45c1441e4d macros/utils: add ABS() macro
This patch adds the classic ABS() macro to exist along side of the
MAX/MIN macros.
2024-02-08 09:52:22 -05:00
Joshua DeWeese
78a1a18683 macros/utils: add LIMIT() macro
This patch adds a macro that can be used to limit a value to a given
range.
2024-02-08 09:52:22 -05:00
Michel Rottleuthner
12982a0f14 gcoap: update documentation on supported features 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
645ee83727 examples/gcoap: send deregistration request with -d 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
45a84af346 gcoap: clear observe state on RST response to notification
In order to properly handle an observe cancellation of a client, the server has to keep track of the notification MIDs (to be able to match an RST to a notification), see [RFC7641, 3.6 Cancellation](https://www.rfc-editor.org/rfc/rfc7641.html#section-3.6) for mor details. An alternative to this would be to make either the client send an explicit observe deregister request, or make the server send the next notification via CON (which hten allows matching of the RST due to the CON state).
2024-02-08 15:48:32 +01:00
Michel Rottleuthner
94e8786715 gcoap: issue RST on unknown observe notifications 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
021986c087 examples/gcoap: allow deregistering observe request as a client 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
ab821a1dda gcoap: add api to forget a client-side observe request 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
5956e93d58 gcoap: split find-memo utility functions
This splits the _find_req_memo util function into multiple variants that match on different things. This is done in preparation of a feature that has to find a request based on a token value, without creating an artificial pdu for that. A nice side effect is that it also makes the calls to the find functions a bit more readable by not relying on an anonymous bool input.
2024-02-08 15:40:45 +01:00
Michel Rottleuthner
c003e5ed9c gcoap: keep request on observe notification 2024-02-08 15:40:45 +01:00
Michel Rottleuthner
ffee1fa1f2 examples/gcoap: add option to register observe as a client 2024-02-08 15:40:42 +01:00
Marian Buschsieweke
4ed287cec8
cpu/stm32/periph_adc: fix register access
The register access to SMPR1/SMPR2 was incorrect in three aspects:

1. For channels < 10, SMPR1 was cleared but SMPR2 should have been
   cleared
2. The code was not thread-safe
3. An unneeded write was issued. (The compiler won't combine the
   in-place bitwise operations into a single read-modify-write
   sequence on `volatile` memory.)

Fixes https://github.com/RIOT-OS/RIOT/issues/20261
2024-02-08 14:51:25 +01:00
Kevin "Tristate Tom" Weiss
c0f233dd2f
Merge pull request #20350 from MrKevinWeiss/pr/releasenotes/202401
release-notes.txt: add 2024.01 release notes
2024-02-08 12:44:42 +00:00
MrKevinWeiss
8b1018aae4
release-notes.txt: add 2024.01 release notes 2024-02-08 12:05:14 +01:00
benpicco
c07eca7696
Merge pull request #20356 from maribu/boards/msp-fixup
boards/olimex-msp430-h2618: change UART config
2024-02-08 10:18:02 +00:00
Marian Buschsieweke
e0535fc1d0
boards/olimex-msp430-h2618: change UART config
Change UART configuration to match `olimex-msp430-h1611`. This allows
using the [olimex-msp430-arduino-uno][board] breakout board to be used
with the `olimex-msp430-h2618` as well.

[board]: https://github.com/RIOT-OS/RIOT-Open-Hardware/tree/main/olimex-msp430-arduino-uno
2024-02-08 06:11:52 +01:00
06e359ed38 tests/sys/ztimer_underflow: disable CI test on native(64) 2024-02-07 23:12:16 +01:00
67a14a306c tests/sys/xtimer_hang: disable CI test on native(64) 2024-02-07 23:12:16 +01:00
b4e9cef7cc tests/sys/evtimer_underflow: disable CI test on native(64) 2024-02-07 23:12:16 +01:00
5db8682c7c tests/core/thread_flags: disable CI test on native(64) 2024-02-07 23:12:16 +01:00
c12283edbc tests/bench/xtimer_load: disable CI test on native(64) 2024-02-07 23:12:16 +01:00
Marian Buschsieweke
cbd918daab
cpu/msp430/x1xx: fix typo in doc 2024-02-07 20:07:53 +01:00
Marian Buschsieweke
2271b21c85
boards/olimex-msp430-h1611: fix symbol rate in doc
The symbol rate has been reduced to 9,600 Bd, as the board otherwise
occasionally looses IRQs.
2024-02-07 20:06:13 +01:00
benpicco
82d9e79f21
Merge pull request #20354 from Enoch247/add-ipv4-init-macro
sys/net/ipv4: add IPV4_ADDR_INIT() macro
2024-02-07 19:01:54 +00:00
benpicco
e2e5c3a834
Merge pull request #20353 from benpicco/gnrc_icmpv6_echo-error
sys/shell/ping: print error when DNS resolve fails
2024-02-07 17:54:52 +00:00
Benjamin Valentin
23c8336485 tests/net/gcoap_fileserver: add atmega1284p to Makefile.ci 2024-02-07 18:44:36 +01:00
Joshua DeWeese
bcc0d01c08 sys/net/ipv4: add IPV4_ADDR_INIT() macro
This patch adds a macro to statically initialize an IPv4 address.
2024-02-07 10:08:16 -05:00
Benjamin Valentin
bfdda46055 sys/shell/ping: print error when DNS resolve fails 2024-02-07 16:02:04 +01:00
chrysn
2f5ad41e41 doc/roadmap: Make working 6LBR a goal 2024-02-07 14:54:52 +01:00
Marian Buschsieweke
4df530663b
Merge pull request #20348 from benpicco/cpp_new_delete-always
sys/cpp_new_delete: always enable the module when C++ is used
2024-02-07 10:55:09 +00:00
Benjamin Valentin
453a8be4f3 sys/cpp_new_delete: always enable the module when C++ is used 2024-02-07 11:40:23 +01:00
benpicco
cc6eb465df
Merge pull request #20346 from mguetschow/psa-crypto-ed25519-return
sys/psa_crypto: return proper error code for psa_verify_msg
2024-02-06 21:41:08 +00:00
benpicco
83f3c4a396
Merge pull request #20342 from fabian18/pr/fix_router_lifetime_and_ft_add_api
ipv6/nib: fix router lifetime handling in RIO and fix gnrc_ipv6_nib_ft_add() api
2024-02-06 19:38:12 +00:00
Fabian Hüßler
fef5c8c5d8 ipv6/nib: fix lifetime handling in RIO handling 2024-02-06 18:35:05 +01:00
Fabian Hüßler
c4ae9063e9 ipv6/nib: fix gnrc_ipv6_nib_ft_add API and catch overflovs 2024-02-06 18:35:05 +01:00
Mikolai Gütschow
d978a57020
sys/psa_crypto: return proper error code for psa_verify_msg 2024-02-06 17:55:40 +01:00
Martine Lenders
a16199f846
Merge pull request #20343 from fabian18/pr/fix_ipv6_nib_cancel_timers
ipv6/nib: cancel timers when NIB entry gets deleted
2024-02-06 16:24:11 +00:00
Marian Buschsieweke
80cdde4bee
Merge pull request #20345 from maribu/dist/tools/mspdebug
dist/tools/mspdebug: build from source
2024-02-06 15:47:47 +00:00
Marian Buschsieweke
aafc099a1c
dist/tools/mspdebug: build from source
This adds mspdebug as package, similar to EDBG, so that the
programmer/debugger is build from source.

This has the advantage that we can indeed provide patches of our own.
The first patch fixes a bug with the CPU detection of `mspdebug` in
combination with the Olimex MSP430-JTAG-TINY-V2. The second adds the
`--expect-id <CPU_NAME>` argument.

The RIOT integration is updated to directly make use of the
`--expect-id` parameter. No more spending time debugging why firmware
the firmware for the `olimex-msp430-h2618` doesn't run when flashed on
the `olimex-msp430h1611` hardware :D
2024-02-06 15:23:02 +01:00
Fabian Hüßler
2b8b828a53 ipv6/nib: move internal event timer API up 2024-02-06 10:30:59 +01:00
Fabian Hüßler
eb1a827e21 ipv6/nib: delete router timeout when router is deleted 2024-02-06 10:29:48 +01:00
Fabian Hüßler
f8a64e74c4 ipv6/nib: delete route timeout when forward table entry is deleted 2024-02-06 10:29:40 +01:00
Fabian Hüßler
de4142de37 ipv6/nib: delete prefix timeout when prefix list entry is deleted 2024-02-06 10:29:30 +01:00
benpicco
4d9e8a8dde
Merge pull request #20335 from fzi-haxel/pr/native64-board
native64: Separate board for 64-bit native
2024-02-05 22:58:02 +00:00