benpicco
0723d2f3a0
Merge pull request #20368 from derMihai/mir/fix_async
...
cpu/native: fix native_async_read_remove_handler() + enable all baudrates
2024-02-10 15:17:11 +00:00
Mihai Renea
fc3d0d8676
cpu/native: fix native_async_read_remove_handler() + enable all baudrates
2024-02-10 15:46:00 +01:00
benpicco
9501f64c4e
Merge pull request #20365 from derMihai/mir/native_uart_poweroff
...
cpu/native/periph/uart: uart_poweroff() closes the file descriptor + extended baud-rate support on Linux
2024-02-10 10:35:31 +00:00
benpicco
55b6728224
Merge pull request #19738 from benpicco/stdio_dispatch
...
stdio_dispatch: allow to select multiple stdio methods at the same time
2024-02-09 16:13:27 +00:00
benpicco
6c96952a9f
Merge pull request #20358 from kaspar030/disable_flakey_native_tests
...
ci: disable some more flakey native tests
2024-02-09 16:12:55 +00:00
Benjamin Valentin
018b7321ed
pkg/tinyusb/cdc_acm_stdio: only enable RX callback if stdin is active
2024-02-09 15:31:21 +01:00
Benjamin Valentin
2d22cc8f49
sys/net/telnet: disable local echo
2024-02-09 15:31:21 +01:00
Benjamin Valentin
550d93f873
sys/net/telnet: properly detect disconnect
2024-02-09 15:31:21 +01:00
Benjamin Valentin
816aafdb5a
sys/net/telnet: fix race condition on disconnect
2024-02-09 15:31:21 +01:00
Benjamin Valentin
8d205b496b
drivers/slipdev: don't append 0-byte to stdin
2024-02-09 15:31:21 +01:00
Benjamin Valentin
6fdcc56f38
stdio_slipdev: port to new interface
2024-02-09 15:31:21 +01:00
Benjamin Valentin
f5181732de
sys/fmt: don't include stdio_base.h
2024-02-09 15:31:21 +01:00
Benjamin Valentin
028f6e54f6
stdio_semihosting: port to new interface
2024-02-09 15:31:21 +01:00
Benjamin Valentin
5548c3d742
pkg/tinyusb/cdc_acm_stdio: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
b575e2d35b
stdio_telnet: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
c1b6c813ae
stdio_nimble: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
35ef7ca389
cpu/esp32/stdio_usb_serial_jtag: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
8bec71331c
stdio_null: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
68c8a9a3a2
sys/usb/cdc/acm: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
76997fdd76
stdio_rtt: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
7c1cdb16af
stdio_udp: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
cce5312be8
stdio_uart: port to new interface
2024-02-09 15:24:22 +01:00
Benjamin Valentin
c1162e4818
sys/stdio: add common stdio module
2024-02-09 15:24:22 +01:00
Mihai Renea
795415d59e
cpu/native/periph/uart: uart_poweroff() closes the file descriptor
2024-02-09 12:55:40 +01:00
mguetschow
de1efc6772
Merge pull request #20344 from Teufelchen1/chore/fmt_test_3
...
tests: Add NULL pointer argument test for fmt_lpad/to_lower/str
2024-02-09 10:41:17 +00:00
Teufelchen1
dbcfa1bdc8
tests: Add NULL pointer argument test for fmt_lpad/to_lower/str
2024-02-09 11:03:05 +01:00
Marian Buschsieweke
2dbc80fe59
Merge pull request #20352 from Enoch247/add-limit-macro
...
macros/utils: add LIMIT() and ABS() macros
2024-02-09 06:06:48 +00:00
benpicco
942b798073
Merge pull request #20362 from Enoch247/use-ipv4-init-macro
...
treewide: make use of new IPv4 static init macro
2024-02-08 20:23:10 +00:00
Fabian Hüßler
057695bdde
tests/pkg/flashdb: add test for FAL config initialization
2024-02-08 20:48:14 +01:00
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