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

8309 Commits

Author SHA1 Message Date
4c4a396120
sys/shell/sht1x: fix typo (PARMS => PARAMS) 2021-01-08 10:15:33 +01:00
9a9530b4b5
sys/entropy_source: fix typo (sates => states) 2021-01-08 10:15:33 +01:00
Martine Lenders
640ff4f5d8
Merge pull request #15609 from maribu/ethernet-rx-timestamp
sys/net/gnrc/netif/ethernet: Support RX timestamp
2021-01-07 19:53:52 +01:00
Marian Buschsieweke
f6bca70d11
sys/net/gnrc/netif/ethernet: Support RX timestamp 2021-01-06 20:30:14 +01:00
Martine Lenders
ce0a363f62
Merge pull request #15690 from janosbrodbeck/pr/dtls/session_get_set_udp_ep
sock/dtls: add getter/setter for the remote UDP endpoint of sock_dtls_session_t
2021-01-05 14:23:51 +01:00
Marian Buschsieweke
8309f42f9b
Merge pull request #15643 from maribu/atomic_utils
sys/atomic_utils: change API to also return previous value
2021-01-05 12:04:31 +01:00
János Brodbeck
a72e053d32
sock/dtls: add example of a blocking handshake to the doc 2021-01-04 20:22:58 +01:00
János Brodbeck
a303081101
sock/dtls: introduce function to set the udp endpoint from a session 2021-01-04 20:22:57 +01:00
b277a6bad5
sys/shell: fix use of suit shell command 2020-12-30 19:06:41 +01:00
Dylan Laduranty
dd557a1328
Merge pull request #15651 from bergzand/pr/usbus/gen_serial
usbus: Add USB peripheral serial string support
2020-12-22 21:38:27 +01:00
János Brodbeck
0e12a5d1c3
sock/dtls: introduce function to get the udp endpoint from a session 2020-12-21 18:24:22 +01:00
Marian Buschsieweke
aca895f165
Merge pull request #15688 from bergzand/pr/memarray/inline_short_functions
memarray: Inline short alloc and free functions
2020-12-21 11:25:23 +01:00
bdf2bf537a
memarray: Inline short alloc and free functions
These functions are short enough that inlining them actually reduces the
flash footprint of the test on the samr21-xpro
2020-12-20 17:24:56 +01:00
Hauke Petersen
44c4f1e307
Merge pull request #15652 from haukepetersen/opt_asymcute_asyncsock
net/asymcute: use sock async
2020-12-18 15:09:20 +01:00
Martine Lenders
6646682873
Merge pull request #15611 from benpicco/boards/eui_provider.h
net/eui_provider: API cleanup
2020-12-18 15:02:57 +01:00
Hauke Petersen
ee01950ed7 net/asymcute: switch to sock_asnyc_event 2020-12-18 13:58:20 +01:00
Martine Lenders
b5a36e9af7
Merge pull request #15653 from haukepetersen/fix_asymcute_subflags
net/asymcute: fix handling of short and pre-defined topics
2020-12-18 13:52:52 +01:00
Hauke Petersen
1e7b95cd70
Merge pull request #15661 from haukepetersen/fix_emcute_msgidqos0
net/emcute: fix MsgId for PUBLISH with QOS0
2020-12-18 13:45:10 +01:00
Hauke Petersen
289688169e net/asymcute: fix short and pre-defined topics 2020-12-18 12:27:46 +01:00
Hauke Petersen
d5aa6c1311
Merge pull request #15675 from haukepetersen/opt_asymcute_rmstaticcasts
net/asymcute: rm explicit casts where applicable
2020-12-18 12:12:05 +01:00
Hauke Petersen
610ae4925e net/emcute: fix MsgId for PUBLISH with QOS0 2020-12-18 10:41:52 +01:00
Hauke Petersen
0e4c31ae64 net/emcute: add doc that QoS -1 is not supported 2020-12-18 10:41:52 +01:00
Hauke Petersen
285681a4e0 net/asymcute: rm explicit casts where applicable 2020-12-18 10:36:55 +01:00
Hauke Petersen
5ff526f928 net/asymcute: fix msgId when publishing QOS0 2020-12-18 10:26:02 +01:00
Hauke Petersen
f8ceccbca4 net/asymcute: add doc that QoS -1 is not supported 2020-12-18 10:22:25 +01:00
Hauke Petersen
d07d941867 net/mqttsn: add flag definition for QoS -1 2020-12-18 10:22:25 +01:00
Marian Buschsieweke
c8d16d21f7
Merge pull request #15606 from maribu/malloc-newlib-picolibc
sys/malloc_thread_safe: new module
2020-12-17 19:55:32 +01:00
Marian Buschsieweke
c790e2eb6d
sys/malloc_thread_safety: use mutex
Disabling IRQs during malloc() provides mutually exclusive access and even is
safe from IRQ context, but is suboptimal for real time scenarios. Instead, the
implementation is changed to use a mutex to provide mutually exclusive access.

As a result, calls to malloc() and free() from IRQ context no longer is
possible. But this this is a really horrible idea to begin with, the impact
should be minimal and the improved real time properties of the system should
make it a good trade-off. An assert() is added to allow easy detection of
regressions and, hence, aid users to fix their code.
2020-12-17 15:39:05 +01:00
Marian Buschsieweke
902aa29b62
sys/malloc_thread_safe: split out of cpu/atmega_common
Split out Gunar Schorcht's clever approach to provide thread safe malloc for
AVR into a system module and make AVR depend on this. This allows other
platforms to also use this.
2020-12-17 15:39:05 +01:00
9cd753228c
usbus: Add USB peripheral serial string support 2020-12-17 11:37:05 +01:00
185bf28c21
usb: Add configuration options for USB peripheral serial
This adds compile-time options to configure the serial of an USB
peripheral. The serial be autogenerated with a configured number of
bytes. It is also possible to configure a fixed serial string for a
device and disable the autogeneration of the serial.
2020-12-17 11:37:04 +01:00
Marian Buschsieweke
8b0007f33a
sys/atomic_utils: return previous value
Update the `atomic_fetch_<OPERATION>_u<WIDTH>()` functions to return the old
value the target contained prior to applying the operation. This makes this
API much more versatile and closer to C11 atomics.
2020-12-16 18:09:35 +01:00
Marian Buschsieweke
76630ee3cb
Merge pull request #15633 from benpicco/sys/base64-urlsafe_fix
sys/base64: drop padding for base64url encoding
2020-12-15 19:36:09 +01:00
Martine Lenders
b0b1c251c0
Merge pull request #15603 from miri64/uhcp/fix/prefix-len
uhcp: check maximum for prefix length
2020-12-15 13:06:08 +01:00
Benjamin Valentin
48c33ae0a2 sys/base64: drop padding for base64url encoding
The URLsafe base64 encoding variant does not require padding, using
'=' as padding is in fact an error as it is not a URL-safe character.
2020-12-15 12:18:45 +01:00
Martine Lenders
44a94dd91e
uhcp: check maximum for prefix length 2020-12-15 10:42:40 +01:00
Marian Buschsieweke
80b43605d4
sys/architecture: add comment on pronunciation 2020-12-15 10:29:58 +01:00
Marian Buschsieweke
3d9e7ca4d4
sys/architecture: Add UWORD_MIN, UWORD_MAX, ...
Allow accessing the highest and lowest number an uword_t and an sword_t can hold
via a preprocessor macro with a speaking name.
2020-12-15 10:13:47 +01:00
Martine Lenders
41a844f323
Merge pull request #12648 from miri64/gnrc_sixlowpan_frag_sfr/feat/initial
gnrc_sixlowpan_frag: initial import of Selective Fragment Recovery
2020-12-14 14:32:04 +01:00
Martine Lenders
dae714ce81
Merge pull request #15627 from maribu/ztimer_xtimer_compat
sys/ztimer: fix xtimer_compat
2020-12-14 13:16:15 +01:00
Martine S. Lenders
e980405cbc
gnrc_sixlowpan_frag_sfr: provide statistics sub-module 2020-12-14 13:00:37 +01:00
Martine S. Lenders
1cd1716280
gnrc_sixlowpan_frag: initial import of Selective Fragment Recovery 2020-12-14 13:00:36 +01:00
benpicco
145c863ed1
Merge pull request #15511 from firas-hamdi/feat/Add_flashwrite_revert
sys/riotboot/flashwrite: add functions to invalid slots
2020-12-14 11:08:49 +01:00
Marian Buschsieweke
2f7470b3fe
sys/ztimer: fix xtimer_compat 2020-12-14 10:46:51 +01:00
Martine S. Lenders
ec436e99d9
gnrc_sixlowpan_frag_rb: add handling for RFRAG packets 2020-12-14 10:17:57 +01:00
Firas Hamdi
d4c32caaaa sys/riotboot: add revert and invalidate slot functions
Update the function description

update write function

refactor riotboot_flashwrite_invalidate function

minor changes

minor nitpicks
2020-12-14 09:33:56 +01:00
Martine S. Lenders
d393008b9f
gnrc_sixlowpan_frag_rb: externalize get_by_tag function 2020-12-14 09:30:04 +01:00
Martine S. Lenders
bd300a3cc0
gnrc_sixlowpan_frag_rb: add check function for empty interval pool 2020-12-14 09:30:04 +01:00
Martine S. Lenders
80ff517eba
gnrc_netif: 6lo.h: add flags to indicate SRF capability 2020-12-14 09:30:03 +01:00
Martine S. Lenders
82c4d263e8
gnrc_sixlowpan_config: rename SRF parameters for Kconfig 2020-12-14 09:30:03 +01:00