1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:12:45 +01:00
Commit Graph

11065 Commits

Author SHA1 Message Date
Lena Boeckmann
1c062d8d6a sys/shell: add atca write config 2024-05-31 16:49:20 +02:00
Lena Boeckmann
b9ec5ad60f sys/shell/cmds/cryptoauthlib: fix typos 2024-05-21 09:13:20 +02:00
Lena Boeckmann
16f9c51014 sys/shell: Update read command to also support ATECC608 devices 2024-05-17 17:00:15 +02:00
Lena Boeckmann
2d4a597fa1 sys/shell: fix some output issues 2024-05-16 09:06:13 +02:00
Lena Boeckmann
20cdbac5fc sys/shell: Update cryptoauthlib shell commands 2024-05-15 18:30:51 +02:00
benpicco
8a4d82304f
Merge pull request #20554 from fabian18/pr/examples/gcoap_input_URI_and_proxy_fixes
examples/gcoap: take full URI as input
2024-05-14 09:52:49 +00:00
Fabian Hüßler
a5b6c4c051 gcoap/forward_proxy: minor fix and cleanup 2024-05-14 08:46:00 +02:00
Martine Lenders
3927a4fd17
Merge pull request #20660 from maribu/sys/net/grnc/fix-compilation-with-gcc-14-1-0
sys/net/grnc: fix NULL ptr dereferencing
2024-05-09 15:00:53 +00:00
Marian Buschsieweke
abd7205115
sys/net/grnc: fix NULL ptr dereferencing
This bug was spotted by GCC 14.1.0:

    In file included from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.h:27,
                     from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.h:33,
                     from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.h:30,
                     from /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:28:
    In function 'bf_isset',
        inlined from '_build_ext_opts' at /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:256:17,
        inlined from '_snd_ra' at /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:368:20,
        inlined from '_snd_rtr_advs' at /home/maribu/Repos/software/RIOT/master/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c:99:9:
    /home/maribu/Repos/software/RIOT/master/sys/include/bitfield.h:130:18: error: array subscript 0 is outside array bounds of 'uint8_t[0]' {aka 'unsigned char[]'} [-Werror=array-bounds=]
      130 |     return (field[idx / 8] & (1u << (7 - (idx % 8))));
          |             ~~~~~^~~~~~~~~
    In function '_snd_rtr_advs':
    cc1: note: source object is likely at address zero
    cc1: all warnings being treated as errors
2024-05-09 12:03:54 +02:00
benpicco
1b9716c96d
Merge pull request #18428 from maribu/cpu/stm32/periph/stm32_eth/confirm_send
cpu/stm32/periph/stm32_eth: provide confirm_send
2024-05-09 08:20:28 +00:00
Marian Buschsieweke
6ac1bcad7e
sys/net/gnrc/gnrc_netif: fix compilation with new netdev API
This fixes a regression introduced in #18496
2024-05-08 21:06:00 +02:00
Benjamin Valentin
2e8f257171 nanocoap_link_format: don't drop characters in fragmented entries 2024-05-07 22:45:37 +02:00
Benjamin Valentin
aad438117e sys/shell: nanoCoAP: properly print long directory entries 2024-05-07 22:45:37 +02:00
benpicco
3791db3941
Merge pull request #18427 from maribu/lwip/confirm_send
pkg/lwip: make use of confirm send
2024-05-06 11:05:10 +00:00
Martine Lenders
a5996e22b8
Merge pull request #20454 from mariemC/mariem/coap-coaps-forward-proxy
gcoap:  add coaps forward proxy
2024-05-06 08:54:08 +00:00
Stefan Schmidt
9d62ad4c5c driver/w5500: driver for the W5500 ethernet chip
- driver can be used with interrupt or in polling mode (default)
2024-05-02 22:07:17 +02:00
Marian Buschsieweke
e80238d2a5
sys/netdev_test: depend on netdev_legacy_api
The test netdev implements the legacy API, so we need support for that
from the upper layer.
2024-04-30 08:41:07 +02:00
Martine Lenders
9b11ecab25
netopt: mark l2filter options as experimental 2024-04-29 11:49:33 +02:00
Martine Lenders
ead2785463
l2filter: mark module as experimental 2024-04-29 11:49:33 +02:00
Teufelchen
5409364222
Merge pull request #20595 from Teufelchen1/fix/vfs_cmd
shell/vfs: Handle print failure in genfile cmd gracefully
2024-04-25 13:46:16 +00:00
Teufelchen1
8bd1de8259 shell/vfs: Handle print failure in genfile cmd gracefully 2024-04-25 15:16:42 +02:00
mariemC
768ce5e443 sys/net/application_layer/gcoap/include: add internal proxy header 2024-04-25 13:36:11 +02:00
mariemC
a07a21b3de sys/net/application_layer/gcoap: include header in path 2024-04-25 13:30:16 +02:00
mariemC
6454816676 sys/net/application_layer/gcoap: add proxy thread 2024-04-25 13:30:16 +02:00
mariemC
e10553b6ee sys: add forward proxy thread submodule 2024-04-25 13:30:16 +02:00
mariemC
557f3c7bc8 sys/net/application_layer/gcoap: adjust proxy source file 2024-04-25 13:30:16 +02:00
benpicco
9761456363
Merge pull request #20564 from benpicco/go-coap_workaround
gnrc, nanocoap: add optional work-arounds for buggy CoAP servers
2024-04-24 13:46:41 +00:00
mguetschow
ad9d50163e
Merge pull request #20334 from mguetschow/psa-import-key
sys/psa_crypto: ed25519 private key {ex,im}port
2024-04-17 11:24:04 +00:00
Mikolai Gütschow
5f08f7478b
sys/psa_crypto: ed25519 private key {ex,im}port 2024-04-17 12:42:05 +02:00
Marian Buschsieweke
fc271ea198
Merge pull request #20562 from MrKevinWeiss/pr/saulrgb
drivers/ws281x: Add saul support
2024-04-17 08:00:51 +00:00
mguetschow
b302b031c8
Merge pull request #20099 from Einhornhool/feature/psa-crypto-persistent-storage
sys/psa_crypto: Implement persistent key storage
2024-04-16 15:37:03 +00:00
Lena Boeckmann
cbadc4f658 sys/psa_crypto: implement persistent key storage 2024-04-16 11:04:51 +02:00
Martine Lenders
3bbb7c35a7
Merge pull request #20579 from maribu/coap/etag
sys/net/gcoap/forward_proxy: clean up code
2024-04-16 08:43:53 +00:00
Marian Buschsieweke
d708f8d0b2
Merge pull request #20577 from Teufelchen1/fix/eddystone
ble/skald: Always enforce URL length check
2024-04-16 06:04:33 +00:00
Marian Buschsieweke
48838f4b83
Merge pull request #20513 from maribu/sys/vfs/atomic_utils
sys/vfs: use atomic_utils rather C11 atomics
2024-04-16 06:04:18 +00:00
Marian Buschsieweke
bb79f3e550
sys/net/gcoap/forward_proxy: clean up code
Introduce an _cep_set_req_etag() helper function and drop the
_cep_set_req_etag_len() helper to avoid use of preprocessor
conditionals in the code.
2024-04-15 18:31:24 +02:00
chrysn
b8ddac765c rust: Selectively update riot-wrappers dependency
This pulls in [88], and thus fixes building of Rust modules when the
wS281x module is enabled.

[88]: https://github.com/RIOT-OS/rust-riot-wrappers/pull/88
2024-04-15 16:28:05 +02:00
Martine Lenders
72817bc85c
Merge pull request #20561 from Teufelchen1/fix/gcoap_dns_typo
net/gcoap: Fix typo, replacing _uri with _proxy
2024-04-15 13:26:56 +00:00
Teufelchen1
da790686f3 ble/skald: Always enforce URL length check
Co-authored-by: benpicco <benpicco@googlemail.com>
2024-04-15 13:28:07 +02:00
Teufelchen1
b05ae93e4b net/gcoap: Fix typo, replacing _uri with _proxy 2024-04-15 12:56:27 +02:00
Marian Buschsieweke
cf6fa4edf0
tree wide: add IWYU pragma: export where needed
We occasionally have some public `foo.h` header that includes a private
`foo_arch.h` header. Users are expected to include the `foo.h` header
and not the `foo_arch.h`. However, clangd will claim that the `#include`
of `foo.h` is unused if only functions / macros/ types / ... from
`foor_arch.h` is used and nothing from `foo.h`.

This adds the `IWYU pragma: export` comment to the include of
`foo_arch.h` in `foo.h`, so that clangd treats functions / macros /
types provided by `foo_arch.h` as if they were instead provided by
`foo.h`, which fixes the false positives.
2024-04-14 14:26:05 +02:00
Emmanuel Ferdman
4394c36cee
gcoap: update the example reference 2024-04-11 12:28:07 +03:00
benpicco
e3c02f5601
Merge pull request #19849 from krzysztof-cabaj/LWIP-ifconfig-IPv4-configuration
sys/shell/lwip: add IPv4 configuration to lwip ifconfig command
2024-04-10 16:48:36 +00:00
Benjamin Valentin
13fd806f4f nanocoap_sock: add option to include token for block-wise 2024-04-10 12:36:53 +02:00
Benjamin Valentin
0fb153daca gnrc_sock/udp: add option to disable remote address check
If a server has e.g. multiple global IPv6 addresses, it might
respond with a different address that the one it received the request on.

This is against the CoAP spec, but that doesn't stop existing implementations
from doing it.
2024-04-10 12:25:49 +02:00
benpicco
5a4d55a66a
Merge pull request #20559 from benpicco/suit-ENOBUFS
sys/suit: return error when URL buffer is too small
2024-04-09 16:35:05 +00:00
Kevin "Tristate Tom" Weiss
5c4480dcea
Merge pull request #20541 from chrysn-pull-requests/doc-shell-constraint
shell/doc: Point users who run into shell buffer issues to the stdin buffer
2024-04-09 12:34:01 +00:00
Marian Buschsieweke
93b05d5dc4
Merge pull request #20523 from MrKevinWeiss/pr/guard_shell_pm
core|sys: Guard periph_pm calls
2024-04-09 12:04:12 +00:00
Benjamin Valentin
68c7bfc20d sys/suit: return error when URL buffer is too small 2024-04-09 10:48:09 +02:00
Mihai Renea
016f074d7e sys/isrpipe/read_timeout: don't set up timer if data is available 2024-04-08 16:42:45 +02:00