1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

39750 Commits

Author SHA1 Message Date
Gunar Schorcht
c3c3de2ec2 cpu/esp32: gcc 8.4.0 requires that inline functions are declared static 2022-05-13 18:57:22 +02:00
Gunar Schorcht
b424633016 cpu/esp32: use pthread module if module cpp is used 2022-05-13 18:56:17 +02:00
Cenk Gündoğan
fb3f1a2138
Merge pull request #17888 from miri64/gcoap/enh/caching
gcoap: add nanocoap_cache support for clients
2022-05-13 15:39:10 +02:00
380cc4975c
Merge pull request #18101 from krzysztof-cabaj/tests-pkg_tflite-micro
tests/pkg_tflite-micro: update list of low memory boards
2022-05-13 14:12:45 +02:00
Martine Lenders
9a54e7ef7f
Merge pull request #18099 from kaspar030/unittests_native_asan
unittests: enable ASAN on native
2022-05-13 14:11:59 +02:00
873a705d87
Merge pull request #18086 from kaspar030/create_cargo_folders
make: create cargo folders
2022-05-13 13:17:03 +02:00
krzysztof-cabaj
6b72d85372 tests/pkg_tflite-micro: update list of low memory boards 2022-05-13 07:00:46 -04:00
Martine Lenders
dbed2b48ea
nanocoap_cache: add helper function to check if entry is stale 2022-05-13 12:14:55 +02:00
Martine Lenders
e6a9443932
tests/unittests/tests-gcoap: adapt for automatically added ETag option 2022-05-13 12:14:55 +02:00
Martine Lenders
310ed649ae
gcoap: reflect truncation with caching 2022-05-13 12:14:55 +02:00
Martine Lenders
70d0d7f624
gcoap_forward_proxy: only leave upstream validation for caching
Most of the caching operation was moved to the client code. Since the
forward proxy is using that code for upstream messaging, interacting
with the cache directly is not necessary anymore.

The only cache-related thing necessary for the proxy is validating ETags
from upstream. However, that can be done by just looking at the ETags
from the upstream response (which may or may not have come from the
cache).
2022-05-13 12:14:55 +02:00
Martine Lenders
728c7d6088
gcoap: add nanocoap_cache support for clients 2022-05-13 12:14:54 +02:00
dcf5cda260 tests/unittests/uri_parser: increase VEC_MSG_LEN
Previous value tripped ASAN. Increase to sth with room to spare.
2022-05-13 11:47:17 +02:00
Cenk Gündoğan
11b3121161
Merge pull request #18095 from miri64/gcoap/enh/get-req-hdr-from-memo
gcoap: add helper function to get request header from a request memo
2022-05-12 16:47:56 +02:00
Martine Lenders
cbbde07cc6
gcoap: add helper function to get request header from a request memo 2022-05-12 15:22:05 +02:00
c544625dc9
Merge pull request #18082 from MrKevinWeiss/pr/fix/cppkconfig
tests/{cpp_ext, cpp_exclude}: cleanup HAS_*
2022-05-12 15:15:12 +02:00
Cenk Gündoğan
820ca617fd
Merge pull request #17801 from miri64/gcoap_forward_proxy/enh/etag
gcoap_forward_proxy: provide cache validation mechanism
2022-05-12 14:50:12 +02:00
Martine Lenders
73bcd83543
nanocoap_cache, forward_proxy: add ETag validation support 2022-05-12 13:22:41 +02:00
Marian Buschsieweke
28336f4d17
Merge pull request #18092 from kaspar030/uri_parser_check_port_len
sys/uri_parser: check port length
2022-05-12 00:49:35 +02:00
3a0e5fd775 tests/unittests: enable address sanitizer for native 2022-05-11 21:49:57 +02:00
e26ae5c981 boards/native: split out asan CFLAGS_ASAN, LINKFLAGS_ASAN 2022-05-11 21:49:27 +02:00
5c0b99a1a0 tests/unittests/tests-uri_parser: add bad port length case 2022-05-11 21:33:02 +02:00
MrKevinWeiss
149dc8069c
tests/{cpp_ext, cpp_exclude}: cleanup HAS_* 2022-05-11 21:24:50 +02:00
1f08e2e2c8 sys/uri_parser: enforce maximum port length 2022-05-11 21:15:55 +02:00
Martine Lenders
02fb040d9c
Merge pull request #13889 from cgundogan/pr/coca
nanocoap: cache for CoAP responses
2022-05-10 23:01:47 +02:00
8fc49b25f7 make: create cargo folders 2022-05-10 21:25:20 +02:00
Cenk Gündoğan
b4cae9d09d
nanocoap: add unittests for nanocoap-cache 2022-05-10 18:43:57 +02:00
Cenk Gündoğan
c5eb53095d
gcoap: integrate nanocoap cache 2022-05-10 18:43:57 +02:00
Cenk Gündoğan
8750605d26
nanocoap: add cache for response messages 2022-05-10 18:43:56 +02:00
benpicco
59ec6f1ccd
Merge pull request #18076 from benpicco/tools/edbg-bump
tools/edbg: bump version
2022-05-10 10:50:29 +02:00
Marian Buschsieweke
eadd282cf4
Merge pull request #18026 from benpicco/gcoap_add_fix
gcoap: ensure response address is the same as request address
2022-05-10 10:49:56 +02:00
Marian Buschsieweke
3dad6740da
Merge pull request #17990 from benpicco/nanocoap-void
nanocoap: use void * for payload bytes
2022-05-10 10:49:05 +02:00
benpicco
3771c06914
Merge pull request #18075 from kaspar030/drop_shell_buildin_commands_define
sys/shell: drop `_builtin_cmds` define
2022-05-10 10:10:23 +02:00
7e134247cd
Merge pull request #17994 from aabadie/pr/tests/cpp_kconfig
tests/{cpp_ext, cpp_exclude}: model in kconfig
2022-05-10 09:31:32 +02:00
Benjamin Valentin
e621afb2dc gcoap: ensure response address is the same as request address
If a node has multiple addresses we must reply to a request with the
same address on which the request was received.
2022-05-10 09:24:56 +02:00
Benjamin Valentin
cc8b4f52aa grnc_sock_udp: implement SOCK_AUX_SET_LOCAL 2022-05-10 09:24:56 +02:00
Benjamin Valentin
2197f9c16a grnc_sock_ip: implement SOCK_AUX_SET_LOCAL 2022-05-10 09:24:56 +02:00
Benjamin Valentin
6e1fb4c3aa sys/net/sock: introduce SOCK_AUX_SET_LOCAL 2022-05-10 09:24:56 +02:00
Benjamin Valentin
f11899f6bb sys/net: add local to sock_udp_aux_tx_t 2022-05-10 09:24:56 +02:00
Benjamin Valentin
bcd58bfd10 sys/net: add local to sock_ip_aux_tx_t 2022-05-10 09:24:56 +02:00
Martine Lenders
beb65f8e53
Merge pull request #18078 from benpicco/gnrc_netif_ipv6_addrs_get
net/gnrc_netif: clarify documentation of gnrc_netif_ipv6_addrs_get()
2022-05-10 09:22:48 +02:00
Martine Lenders
ad1c5fb391
Merge pull request #18069 from yarrick/lwip_netif_opt
pkg/lwip: Add basic version of netif_get/set_opt
2022-05-10 01:36:16 +02:00
benpicco
cb1aea03a0
Merge pull request #18065 from benpicco/gnrc_sock-implicit_netif
gnrc_sock: implicitly set netif if there is only a single one
2022-05-10 00:16:42 +02:00
benpicco
9ab4521d43
Merge pull request #18080 from maribu/dist/tools/compile_commands
dist/tools/compile_commands: don't adds -nostdinc
2022-05-10 00:13:52 +02:00
Marian Buschsieweke
b42197f323
dist/tools/compile_commands: don't adds -nostdinc
This fixes unintended side affects on rust compilation, which currently
relies on this tool to generate appropriate flags.
2022-05-09 22:32:54 +02:00
Benjamin Valentin
79987483e4 net/gnrc_netif: clarify documentation of gnrc_netif_ipv6_addrs_get()
Reformulate the documentation to make it clear that this returns the
*size* of the addresses, not the number of addresses.
2022-05-09 21:46:01 +02:00
Erik Ekman
7b84b3a3f5 pkg/lwip: Add empty netif_setopt
To fully implement net/netif.h
2022-05-09 17:48:30 +02:00
Erik Ekman
4679d3d06e pkg/lwip: Fall back to netdev when getting options
Adds support for mac address, link state and more
2022-05-09 17:48:30 +02:00
Erik Ekman
8796293c5a pkg/lwip: Implement getting option NETOPT_IPV6_ADDR 2022-05-09 17:48:30 +02:00
Benjamin Valentin
60e59ab939 tools/edbg: bump version
- adds a few more SAM D/L device IDs
 - add support for NXP MCU-LINK
 - add support for Lattice LCMCO2
2022-05-09 15:43:00 +02:00