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

7670 Commits

Author SHA1 Message Date
Marian Buschsieweke
a5c4692806
sys/event: Add multi-queue initializers
Add a set of helper functions to initialize / claim an array of queues and use
this in `tests/events`.
2020-08-05 11:59:40 +02:00
Marian Buschsieweke
2c03dfca13
sys/event: Made trivial functions static inline
When the expected ROM overhead of a function is bigger than the actual function,
it is better to provide the function as static inline function in the header.
2020-08-05 11:45:53 +02:00
Marian Buschsieweke
649486f5cd
sys/event: Remove incorrect comment
The value of `queue->waiter` at the time the event was queued (with IRQs
disabled) was backed up to the stack-variable `waiter`. Thus, the test later on
for `waiter` checks if the queue was already claimed at the time the event
was queued. Therefore, there is no race.
2020-08-05 11:44:25 +02:00
7b05b85135
Merge pull request #14682 from maribu/event_wait_prio 2020-08-05 11:38:55 +02:00
Marian Buschsieweke
8bda9fac1b
sys/event: Add support for multiple queues
Added `event_wait_multi()` that takes an array of event queues rather than
a single event queues. The queue with the lowest index will have the highest
priority.
2020-08-04 13:30:25 +02:00
Leandro Lanzieri
7f1f8ae576
Merge pull request #14652 from akshaim/Kconfig_netif
net/netif : Expose configurations to Kconfig
2020-08-03 20:03:33 +02:00
Martine Lenders
b043e1fa64
Merge pull request #14683 from miri64/gnrc_sixlowpan_frag_vrb/fix/cppcheck-warning
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
2020-08-03 13:15:52 +02:00
Akshai M
e557fa8ef6 net/netif : Update documentation 2020-08-03 16:10:15 +05:30
Akshai M
1a844b3df6 net/netif : Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-08-03 16:10:00 +05:30
Akshai M
b52e3e1587 net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_' 2020-08-03 16:09:21 +05:30
Martine S. Lenders
5885293e9e
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
... which wasn't a false positive after all.
2020-08-03 12:29:06 +02:00
Benjamin Valentin
6af92ee113 gnrc/nib: fix _idx_dsts() calculation
Using pointer difference already gives us the number of elements of
size of what the pointer is pointing to.
Dividing by size will lead to the wrong (always 0) result.
2020-08-03 11:35:54 +02:00
Leandro Lanzieri
224e2c977d
Merge pull request #14509 from jia200x/pr/lora_implicit_mode
sx127x: add support for implicit header mode
2020-07-29 12:52:00 +02:00
Jose Alamos
f3bdf7232d netopt: add NETOPT_PDU_SIZE 2020-07-29 11:57:52 +02:00
Martine Lenders
05b13f5029
Merge pull request #14488 from PeterKietzmann/pr_add_sha256prng
sys/random: add SHA256 mode to SHA1PRNG & tests
2020-07-29 11:20:55 +02:00
benpicco
2d4d29367e
Merge pull request #14642 from maribu/fix-byteorder-big-endian
core/byteorder: Fix be byte buffer conversion on big endian systems
2020-07-29 01:25:03 +02:00
Marian Buschsieweke
4f391007f0
sys/unaligned: Add 32 bit version 2020-07-28 22:34:25 +02:00
Martine Lenders
91c23511d1
Merge pull request #14639 from kaspar030/sys_benchmark_extended_xtimer_workaround
sys/benchmark: don't disable interrupts
2020-07-28 22:12:28 +02:00
Martine Lenders
6e8006240b
Merge pull request #14628 from cgundogan/pr/sys/shell/ping_alias
sys: shell: deduplicate help text for ping command
2020-07-28 19:48:32 +02:00
Martine Lenders
0e3aa2fff5
Merge pull request #14632 from benpicco/netif_single
gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module
2020-07-28 17:56:51 +02:00
f60980b163 sys/benchmark: don't disable interrupts
the function uses xtimer, which breaks with disabled interrupts.
2020-07-28 16:03:00 +02:00
Leandro Lanzieri
cfdf30409a
Merge pull request #14599 from akshaim/Kconfig_dhcpv6
net/dhcpv6 : Expose configurations to Kconfig
2020-07-28 15:46:17 +02:00
Benjamin Valentin
0c06694f72 gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module 2020-07-28 13:59:20 +02:00
benpicco
403b6b15c6
Merge pull request #14481 from maribu/cpp-fix-linking
Makefile.{base,include}: Fix linking for C++ code in external modules
2020-07-28 12:42:14 +02:00
Akshai M
a9e0a110d7 net/dhcpv6 : Remove unused macro
Remove unused macro 'DHCPV6_CLIENT_SERVER_MAX'
2020-07-28 15:02:48 +05:30
Cenk Gündoğan
891b8e37d7 sys: shell: deduplicate help text for ping command 2020-07-28 10:49:17 +02:00
Akshai M
6be6300075 net/dhcpv6 : Update documentation
Add configuration 'CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX' to
configuration group
2020-07-24 00:23:08 +05:30
Akshai M
0413a5881f net/dhcpv6 : Expose to Kconfig
Expose configurations to Kconfig. Add conditional CFLAGS to avoid
conflicts with Kconfig.
2020-07-24 00:23:08 +05:30
Marian Buschsieweke
6520db8ed9
sys/cxx_ctor_guards: Add guard for c++ ctors
For thread-safe calling of C++ constructs of statically allocated class
instances some platform support code is needed. This commit ads one
implementation compatible with g++.
2020-07-23 20:24:47 +02:00
Marian Buschsieweke
033807008a
sys/arduino: Require feature cpp
Arduino code requires C++ support
2020-07-23 20:18:34 +02:00
Akshai M
1c37e11c0e net/dhcpv6 : Move 'DHCPV6_CLIENT_PFX_LEASE_MAX' to 'CONFIG_' 2020-07-23 21:10:26 +05:30
Leandro Lanzieri
25723267f7
Merge pull request #14567 from akshaim/Kconfig_l2filter
net/l2filter : Expose configurations to Kconfig
2020-07-22 15:11:24 +02:00
Leandro Lanzieri
a017764382
Merge pull request #14573 from akshaim/gnrc_mac_update
net/gnrc/mac/types.h : Update configurations
2020-07-22 13:00:39 +02:00
PeterKietzmann
0b48298d95 sys/random: shaxprng init use digest not state 2020-07-22 12:25:09 +02:00
PeterKietzmann
7232c5291d sys/random: reset buffer position on reinitialization 2020-07-22 12:25:09 +02:00
PeterKietzmann
233fbcdb38 sys/random: improve documentation on SHA based generator 2020-07-22 12:25:09 +02:00
PeterKietzmann
5a13d00b65 sys/random: make sha1prng sha256 compatible 2020-07-22 12:25:09 +02:00
Cenk Gündoğan
a0c4b8a4a0
Merge pull request #14550 from leandrolanzieri/pr/net/gcoap_remove_gcoap_finish
net/gcoap: remove gcoap_finish
2020-07-22 09:40:09 +02:00
Akshai M
60170971bd net/l2filter : Update documentation 2020-07-22 00:26:09 +05:30
Akshai M
9bed3c64e9 net/l2filter : Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-07-22 00:26:09 +05:30
Akshai M
caab4cd8c5 net/l2filter : Move 'L2FILTER_LISTSIZE' to 'CONFIG_' 2020-07-22 00:26:09 +05:30
Akshai M
0d52f81935 net/l2filter : Move 'L2FILTER_ADDR_MAXLEN' to 'CONFIG_' 2020-07-22 00:26:09 +05:30
Akshai M
bcb42e2166 mac/types.h : Remove ifndef for 'GNRC_MAC_TYPE_GET_DUTYCYCLE'
Removed ifndef guards for GNRC_MAC_TYPE_GET_DUTYCYCLE as its
an IPC message type and is also not intended as a configuration.
2020-07-21 16:36:27 +05:30
Martine Lenders
e5d692babe
Merge pull request #14493 from miri64/netopt/cleanup/rm-LINK_CONNECTED
netopt: remove deprecated alias NETOPT_LINK_CONNECTED
2020-07-17 22:35:46 +02:00
Martine Lenders
bb07c1889f
Merge pull request #14507 from JannesVolkens/someip_hdr
sys/include/net: Add SOME/IP header
2020-07-17 22:35:06 +02:00
fa2c8b01f4
sys/ztimer: fix missing include for periph_rtt submodule 2020-07-17 20:10:27 +02:00
Benjamin Valentin
a028102149 pkg/littlefs2: rename littlefs_desc_t -> littlefs2_desc_t
Allow to have both versions of the FS present at the same time.
2020-07-17 16:43:00 +02:00
Leandro Lanzieri
3920dd8c20
net/gcoap: Remove gcoap_finish 2020-07-17 16:33:19 +02:00
Leandro Lanzieri
60f7e3aadf
net/cord/lc: Replace usage of deprecated gcoap_finish 2020-07-17 10:01:55 +02:00
Leandro Lanzieri
f92c693682
net/cord/epsim: Replace usage of deprecated gcoap_finish 2020-07-17 09:51:34 +02:00