benpicco
5c9715ae74
Merge pull request #18731 from maribu/sys/stdio_uart/onlcr
...
sys/stdio_uart: add stdio_uart_onlcr (pseudo-) module
2022-10-15 23:36:48 +02:00
benpicco
4d0c533260
Merge pull request #18154 from benpicco/nanocoap_no-response
...
nanocoap: add support for no-response option
2022-10-15 21:16:00 +02:00
Martine Lenders
53ed211fc9
Merge pull request #16175 from miri64/gnrc_sixlowpan_frag_sfr/enh/mark-ecn
...
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-15 14:01:44 +02:00
Martine Lenders
c94c32dce4
Merge pull request #18727 from miri64/gnrc/enh/explicit-pseudomodules
...
gnrc: make pseudo-modules explicit + documentation improvements
2022-10-14 17:39:39 +02:00
Marian Buschsieweke
5d5e8d6163
Merge pull request #18740 from maribu/chrysn-pull-requests/gnrc-netreg-lock
...
gnrc_netreg: Use locks around netreg
2022-10-14 15:10:35 +02:00
Leandro Lanzieri
70acefaa55
Merge pull request #18386 from miri64/gcoap_forward_proxy/enh/empty-ack
...
gcoap_forward_proxy: send empty ACK when response takes too long
2022-10-14 11:23:48 +02:00
chrysn
982ec4dcda
gnrc_netreg: Use locks around netreg
...
This eliminates race conditions around unregistering netdevs.
gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether
that lock is held.
2022-10-14 03:35:15 +02:00
Benjamin Valentin
1cfcb307f2
nanocoap_sock: add nanocoap_sock_{put, post}_non()
2022-10-13 19:04:09 +02:00
Benjamin Valentin
56f36c09a0
nanocoap: add support for no-response option
...
See https://datatracker.ietf.org/doc/rfc7967/
2022-10-13 19:04:09 +02:00
Marian Buschsieweke
b539d7ad6d
Merge pull request #17905 from benpicco/GNRC_NETIF_STACKSIZE_DEFAULT
...
gnrc_netif: don't allocate message queue on the stack
2022-10-13 17:10:43 +02:00
Jim Paris
d797c990d6
sys/stdio_uart: add stdio_uart_onlcr (pseudo-) module
...
Add USE_MODULE += "stdio_uart_onlcr" to enable it.
This is named after the "onlcr" stty flag, which does the same thing.
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2022-10-13 12:08:34 +02:00
Leandro Lanzieri
fa96d469da
Merge pull request #18425 from kfessel/p-modular-log
...
sys/log_*: modularize log into log_color and log_printfnoformat
2022-10-13 09:47:03 +02:00
Martine Lenders
8dcc5d07ba
gnrc_sixlowpan_config: resolve ECN at the earliest convenience
2022-10-12 18:02:18 +02:00
Martine Lenders
653d08281b
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-12 18:02:18 +02:00
Martine Lenders
63c4fe5770
gcoap: fix "line is longer than 100 characters" pointed out by Vera++
2022-10-12 17:33:55 +02:00
chrysn
798dedd4d1
gcoap_forward_proxy: send empty ACK when response takes too long
...
Co-Authored-By: Martine S. Lenders <m.lenders@fu-berlin.de>
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2022-10-12 17:33:55 +02:00
benpicco
913bf3748c
Merge pull request #18699 from miri64/gnrc_netif_lorawan/enh/up-down-support
...
gnrc_netif_lorawan: add support for LINK_UP/_DOWN events
2022-10-12 17:11:51 +02:00
Karl Fessel
e89063e1cf
sys/log_color: guard from compiling for esp
2022-10-12 13:45:29 +02:00
Karl Fessel
bac70c5e47
sys/test_utils/print_stack_usage: include stdio if printf is used
2022-10-12 12:21:33 +02:00
Karl Fessel
514325b8b3
sys/log: modularize log into log_color and log_printfnoformat
...
- log_color: make log_write nonstatic
- log_printfnoformat
- apply module split to Kconfig
2022-10-12 12:21:29 +02:00
Martine Lenders
f7510cfb9d
gnrc_nettype: improve documentation on modules made explicit
2022-10-12 11:27:27 +02:00
Martine Lenders
153f42d524
gnrc_dhcpv6: improve documentation on modules made explicit
2022-10-12 11:27:15 +02:00
Martine Lenders
a1794c0cb3
gnrc_nettype: various doc enhancements and fixes
2022-10-12 11:23:56 +02:00
Martine Lenders
774ca13563
gnrc_nettype: reorder gnrc_nettype_t to fit the grouping again
2022-10-12 11:23:16 +02:00
Benjamin Valentin
be1c46ef27
gcoap_fileserver: don't abort on duplicate packet
2022-10-12 00:45:28 +02:00
Martine Lenders
5f504ad70d
gnrc_netif_lorawan: add debug message for failed send
2022-10-11 22:57:00 +02:00
Martine Lenders
ab32ad5030
gnrc_ipv6_nib: auto-configure link-local address on UP event
2022-10-11 22:57:00 +02:00
Martine Lenders
f34f296242
gnrc_netif_lorawan: add support for LINK_UP/_DOWN events
2022-10-11 12:29:11 +02:00
Marian Buschsieweke
2476a3b3a7
Merge pull request #18723 from benpicco/sock_util-find_hoststart
...
sys/net/sock_util: fix _find_hoststart()
2022-10-11 03:53:45 +02:00
Benjamin Valentin
c47407892a
sys/net/sock_util: style fixes
2022-10-10 20:31:15 +02:00
benpicco
988039b351
Merge pull request #18708 from miri64/gnrc_ipv6_nib/enh/handle-up-down-in-gnrc_ipv6
...
gnrc_ipv6_nib: handle iface_up/iface_down in IPv6 thread
2022-10-10 20:26:42 +02:00
Benjamin Valentin
6f2bbdd3b1
sys/net/sock_util: fix _find_hoststart()
2022-10-10 19:02:18 +02:00
Martine Lenders
47aaa94157
gnrc_ipv6_nib: handle iface_up/iface_down in IPv6 thread
2022-10-07 14:12:00 +02:00
Benjamin Valentin
f78fa2c632
sys/checksum: update CRC-16 documentation
2022-10-07 13:01:38 +02:00
benpicco
24f7d2011a
Merge pull request #18701 from benpicco/sys/checksum-crc16_fast
...
sys/checksum: add CRC-16 implementation without lookup table
2022-10-07 12:31:23 +02:00
Marian Buschsieweke
213c35bb71
Merge pull request #18649 from maribu/sys/shell/cmds
...
sys/shell/cmds: fix shell_cmd_netif LoRaWAN integration
2022-10-07 12:19:57 +02:00
Martine Lenders
a49863e95c
Merge pull request #18698 from miri64/doc/enh/deprecated-modules
...
doc: add deprecation notice on deprecated pseudo-modules
2022-10-07 01:56:49 +02:00
chrysn
edfa255733
Merge pull request #18053 from Teufelchen1/fix/cord_ep
...
shell/cord_ep: Add user guidance & prevent accidental crash
2022-10-06 22:37:42 +02:00
Benjamin Valentin
e313c56e94
sys/checksum: add CRC-16 implementation without lookup table
2022-10-06 17:43:20 +02:00
benpicco
4493afb582
Merge pull request #18639 from benpicco/nanocoap_sock_put_url
...
sys/shell: ncput: add option to read from stdin
2022-10-06 12:05:39 +02:00
Martine Lenders
bb92b2b281
doc: add deprecation notice on deprecated pseudo-modules
2022-10-06 10:53:10 +02:00
Karl Fessel
b575f0cdf8
net/nanocoap: remove coap_pkt token ptr
2022-10-06 00:20:10 +02:00
Karl Fessel
14096a935f
sys/net: cleanup coap_pkt_t.token uses
2022-10-06 00:20:10 +02:00
Hendrik van Essen
6c98a5b3b7
sys/net/network_layer/ipv4/addr: add ipv4_addr_print function
2022-10-05 15:16:37 +02:00
Marian Buschsieweke
f02bc5791a
Merge pull request #18571 from maribu/sys/tiny_strerror
...
sys/tiny_strerror: add tiny `strerror()` implementation
2022-10-05 09:24:40 +02:00
Marian Buschsieweke
6ced6dfde7
Merge pull request #18686 from benpicco/checksum/crc32
...
sys/checksum: add CRC-32 checksum
2022-10-04 23:06:04 +02:00
Marian Buschsieweke
fd80c53a35
sys/shell/cmds: fix shell_cmd_netif LoRaWAN integration
...
Model the LoRaWAN integration to GNRC's netif command (ifconfig) as
submodule of it, namely `shell_cmd_gnrc_netif_lorawan`.
This should fix a regression introduced by
https://github.com/RIOT-OS/RIOT/pull/18355
2022-10-04 23:06:03 +02:00
benpicco
161172c678
Merge pull request #18656 from benpicco/event_periodic_callback_get_arg
...
event_periodic_callback: add getter for user context, one-shot event
2022-10-04 20:47:26 +02:00
Benjamin Valentin
49a85f4633
sys/checksum: add CRC-32 checksum
...
based on https://github.com/aeldidi/crc32
2022-10-04 15:40:53 +02:00
Dylan Laduranty
11aebb6003
Merge pull request #18592 from gschorcht/pkg/tinyusb
...
pkg/tinyusb: add tinyUSB as package
2022-10-04 13:08:36 +02:00
Gunar Schorcht
bb337cde8e
pkg/tinyusb: use auto_init for tinyusb stack and thread setup
2022-10-04 07:40:18 +02:00
chrysn
69cb6b12fc
rust: Update dependencies
...
The change in 399e25cc
was did not have the intended effect: As the
local crates still all defined 0.7 as the riot-wrappers version, that
dependency was actually down- rather than upgraded, and thus did not
effect the stabilizations.
2022-10-04 00:28:46 +02:00
Marian Buschsieweke
3227fb3b17
Merge pull request #18619 from maribu/core/mutex/cleanup
...
core/mutex: clean up
2022-10-03 10:58:07 +02:00
chrysn
b31eb6b15c
Merge pull request #18678 from chrysn-pull-requests/rust-update-20221001
...
rust: Update dependencies, build and test more on stable
2022-10-02 18:09:31 +02:00
chrysn
399e25cce3
rust: Update dependencies
...
This pulls in versions of previously nightly-only crates that can be
built on 1.65 beta.
The Cargo overrides that direct the resolver to the git repositories are
disabled while the version used in tree also happens to be a released
version of the crates, as it should be the case as per [251].
[251]: https://github.com/RIOT-OS/Release-Specs/issues/251
2022-10-01 21:29:20 +02:00
benpicco
1935b626d5
Merge pull request #18672 from benpicco/vfs-abs_path
...
vfs: drop unused abs_path parameter
2022-09-30 16:42:57 +02:00
José Alamos
f022ac3e23
Merge pull request #17884 from Ollrogge/gnrc_lorawan1.1
...
gnrc/lorawan: add basic LoRaWAN 1.1 features
2022-09-30 11:29:55 +02:00
3ee3d1b9ac
Merge pull request #18562 from MrKevinWeiss/pr/removemips
...
cpu/mips: Remove all mips
2022-09-30 10:47:09 +02:00
Benjamin Valentin
85dd564f87
vfs: drop unused abs_path parameter
2022-09-29 22:01:37 +02:00
benpicco
0e181e9ec3
Merge pull request #18668 from miri64/coap/enh/coap_v1
...
coap: provide definition for version field value
2022-09-29 20:41:53 +02:00
benpicco
6257e328c0
Merge pull request #18661 from fabian18/nib-6ln_correct_abr_timeout
...
nib/_nib-6ln: correct ABR timeout in ABRO
2022-09-29 17:25:06 +02:00
Ollrogge
32cef708a7
gnrc/lorawan: uncrustify files
2022-09-29 11:26:04 +02:00
Martine Lenders
b9d7028a8f
coap: provide definition for version field value
2022-09-29 11:26:03 +02:00
Ollrogge
12a4e1c1ec
gnrc/lorawan: add support for GNRC LoRaWAN 1.1
2022-09-29 11:25:56 +02:00
Fabian Hüßler
23fa33774f
nib/_nib-6ln: correct ABR timeout in ABRO
2022-09-29 10:48:49 +02:00
benpicco
c35a4ba577
Merge pull request #18621 from benpicco/strscpy
...
sys/string_utils: add strscpy()
2022-09-28 19:11:42 +02:00
benpicco
e9b5bd712c
Merge pull request #18651 from benpicco/gcoap-footgun
...
gcoap: accept resources in any order
2022-09-28 10:48:51 +02:00
Benjamin Valentin
16491eaca7
sys/string_utils: fix check for native
2022-09-28 09:58:43 +02:00
Martine Lenders
b297b2bd14
Merge pull request #18471 from miri64/gcoap_forward_proxy/fix/copy-max_age
...
gcoap_forward_proxy: copy Max-Age from forwarded Valid if it exists
2022-09-28 04:36:16 +02:00
Teufelchen1
3dc3110bab
shell/cord_ep: Take full URIs instead of IP and path
...
This fixes a crash when the path was not entered with a leading slash.
2022-09-27 16:28:04 +02:00
Benjamin Valentin
6563ce2fb7
event_callback: add event_callback_oneshot()
2022-09-27 15:45:19 +02:00
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips
2022-09-27 13:42:37 +02:00
Benjamin Valentin
e20b966109
event_periodic_callback: add getter for user context
2022-09-27 13:15:26 +02:00
7344e14e1b
sys/shell/cmds/dfplayer.c: initialize mode
2022-09-27 09:29:23 +02:00
Benjamin Valentin
a37b283ebe
nanocoap: coap_tree_handler(): accept resources in any order
2022-09-26 20:32:30 +02:00
Benjamin Valentin
da1f161c3c
gcoap: accept resources in any order
2022-09-26 20:20:14 +02:00
Benjamin Valentin
cdaf715a84
sys/string_utils: add strscpy()
2022-09-26 19:06:46 +02:00
Marian Buschsieweke
caa30b83d5
sys/riotboot: add missing include
2022-09-26 18:54:39 +02:00
chrysn
976de15da6
Merge pull request #18642 from chrysn-pull-requests/rust-20220924
...
rust: Update dependencies
2022-09-25 14:52:16 +02:00
chrysn
168ec76a17
rust: Update dependencies
...
This will allow more components to build on 1.64 stable, and contains a
fix relevant for https://github.com/RIOT-OS/RIOT/pull/18619 .
CoAP modules are held back as they appear to need an even newer nightly
than in the current riotdocker to build without feature declarations.
2022-09-25 10:16:27 +02:00
Marian Buschsieweke
77731c5f7b
treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
...
Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
2022-09-24 14:50:43 +02:00
Benjamin Valentin
52cd8fe4a1
sys/shell: ncput: add option to read from stdin
2022-09-23 19:47:42 +02:00
Benjamin Valentin
42a8a587c4
nanocoap_sock: add nanocoap_sock_{put, post}_url()
2022-09-23 19:47:02 +02:00
Sören Tempel
498e531e2f
dhcpv6: don't treat zero option as an end-of-payload marker
...
As far as I can tell, no DHCPv6 RFC specifies this option. The handling
for the zero option was added in #17736 by @benpicco to fix issues
encountered while trying to retrieve a DHCHPv6 lease. However, I
strongly suspect that the zero option was encountered in this case due
to an out-of-bounds read performed in RIOT's DHCPv6 client
implementation (i.e. the option parsing loop read beyond the packet
bounds). This issue was fixed in #18307 and I strongly suspect that it
should also fix the issue @benpicco originally encountered in #17736 . As
such, I propose that we remove the if statement which treats the zero
option as an end-of-payload marker.
Fixes #18309
2022-09-22 20:08:00 +02:00
Marian Buschsieweke
a00fb233dc
sys/net/credman: fix insecure memory wiping
2022-09-20 17:44:24 +02:00
Marian Buschsieweke
0f27ce4ad8
sys/fido2: fix insecure memory wiping
2022-09-20 17:44:24 +02:00
Marian Buschsieweke
34c61b58a6
sys/string_utils : new (header-only) module for string utilities
...
This header-only module provides a `string_utils.h` that currently
only provides the non-standard function `explicit_bzero()` to securely
wipe memory. It may be extended with other utility functions in the
future.
2022-09-20 17:44:24 +02:00
Marian Buschsieweke
eaa245f5de
sys/shell/commands/sc_vfs.c: use tiny_strerror
2022-09-20 15:51:11 +02:00
Marian Buschsieweke
1bdc1a5967
sys/tiny_strerror: add tiny strerror()
implementation
...
`tiny_strerror()` is a drop-in replacement for `strerror()`, but
instead of a long help message it returns the much shorter macro name
matching the given number.
The (pseudo-)module `tiny_strerror_as_strerror` can be used to
replace all calls to `strerror()` with calls to `tiny_strerror()`.
2022-09-20 15:51:11 +02:00
Martine Lenders
0079b0c52f
event_periodic_callback: remove unnecessary dependency
2022-09-20 09:49:30 +02:00
benpicco
f03f5384c1
Merge pull request #18355 from maribu/sys/shell/cmds
...
sys/shell: make cmds submodules and add KConfig modeling
2022-09-19 21:07:23 +02:00
Marian Buschsieweke
4b87a300c0
Merge pull request #18598 from benpicco/event_periodic_callback
...
event_periodic_callback: add convenience wrapper for periodic callbacks
2022-09-19 20:45:52 +02:00
Martine Lenders
ff648985c0
Merge pull request #18443 from miri64/gcoap_dns/enh/implement-max_age-ttl-algorithm
...
gcoap_dns: implement Max-Age-based TTL calculation
2022-09-19 16:03:46 +02:00
Martine Lenders
d5e63a5e46
Merge pull request #18096 from Teufelchen1/feat/port_parsing
...
sys/uri_parser: Adding the port as uint16_t
2022-09-19 13:40:53 +02:00
Karl Fessel
e43a75d293
Merge pull request #18431 from kfessel/p-doccheck-fix
...
doccheck: make the file pattern more match riot.doxyfile
2022-09-19 11:07:57 +02:00
Benjamin Valentin
b1ea963df4
gnrc_netif: introduce GNRC_NETIF_STACKSIZE_DEFAULT
2022-09-18 18:35:21 +02:00
Marian Buschsieweke
8457f09dde
Merge pull request #18139 from maribu/sys/net/gnrc/netif/confirm_send
...
sys/net/gnrc_netif: Make use of confirm send
2022-09-17 19:40:24 +02:00
Benjamin Valentin
838a5e4bd3
netdev_drivers: make sure to signal LINK_UP at least once
2022-09-16 22:57:28 +02:00
Benjamin Valentin
4b0bfae4ca
gnrc_netif: handle NETDEV_EVENT_LINK_UP/DOWN events
2022-09-16 22:57:06 +02:00
Benjamin Valentin
7211aa11af
ipv6/nib: add gnrc_ipv6_nib_iface_{up, down}()
2022-09-16 22:57:06 +02:00