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

8358 Commits

Author SHA1 Message Date
Martine Lenders
879fbc179e
Merge pull request #15755 from janosbrodbeck/pr/dtls/get_event_session
sock/async: add function to retrieve session object of current DTLS event
2021-01-22 10:51:51 +01:00
János Brodbeck
050b268705
sock/async: fix typo in doc of sock_dtls_set_cb 2021-01-21 19:03:41 +01:00
János Brodbeck
80d592b1b8
sock/async: introduce function to retrieve session of current DTLS event 2021-01-21 18:58:12 +01:00
Francisco
1d9b898e9f
Merge pull request #15717 from leandrolanzieri/pr/kconfig/drivers_s
drivers/s*: add modules to Kconfig
2021-01-21 16:49:21 +01:00
Marian Buschsieweke
90700f1cec
Merge pull request #15823 from maribu/fmt-table-bugfix
sys/fmt_table: fix infinite loop
2021-01-21 13:15:52 +01:00
Leandro Lanzieri
52b8bca84e
net/lora: add module to Kconfig 2021-01-21 11:22:33 +01:00
Leandro Lanzieri
0ed66123d9
sys/iolist: add module to Kconfig 2021-01-21 11:22:32 +01:00
Leandro Lanzieri
a492400cee
drivers/slipdev: add modules to Kconfig 2021-01-21 11:22:31 +01:00
Leandro Lanzieri
95206d0346
kconfig/saul: select phydat and enable saul_registry by default 2021-01-21 11:22:30 +01:00
Marian Buschsieweke
00a8a8bd83
sys/fmt_table: fix infinite loop 2021-01-21 10:03:44 +01:00
Francisco
5c5ec632a5
Merge pull request #15716 from leandrolanzieri/pr/kconfig/ztimer
sys/ztimer: add modules to Kconfig
2021-01-20 15:31:20 +01:00
a1250963d4
Merge pull request #15780 from haukepetersen/opt_ztimer_isset
ztimer: add ztimer_is_set() to user API
2021-01-20 12:42:21 +01:00
Marian Buschsieweke
51db33375a
sys/bit: provide CPU_HAS_SRAM_BITBAND
CPU_HAS_SRAM_BITBAND can be used to check whether bit-banding is supported for
all of SRAM. With partially supported bit-banding, this feature is more of a
foot gun that a valuable tool.
2021-01-20 09:18:09 +01:00
Martine Lenders
eb30b0b2e2
Merge pull request #15792 from haukepetersen/fix_evtimer_moddep
sys/evtimer: fix module dependencies
2021-01-19 12:45:09 +01:00
Francisco
0e5ba63384
Merge pull request #15641 from bergzand/pr/schedstatistics/remove_idle_runtime
schedstatistics: Log sleep tick statistics
2021-01-19 11:19:05 +01:00
Francisco
e046e01254
Merge pull request #15683 from bergzand/pr/memarray/extender
memarray: Add functions to extend and reduce the pool with new memory areas
2021-01-19 11:18:47 +01:00
Hauke Petersen
8f5d366fe9 sys/evtimer: fix module dependencies 2021-01-19 11:07:20 +01:00
Bas Stottelaar
9bc7dd04e6 sys/saul_reg: add saul_reg_find_type_and_name 2021-01-18 22:28:28 +01:00
Hauke Petersen
f5de257d58 ztimer: expose ztimer_is_set() to public API 2021-01-18 17:50:50 +01:00
benpicco
5fe6483403
Merge pull request #15762 from benpicco/sys/sema_inv
sys/sema_inv: add inverse Semaphore
2021-01-18 15:57:01 +01:00
Leandro Lanzieri
61a10db288
sys/xtimer/kconfig: fix dependencies 2021-01-18 14:14:13 +01:00
Leandro Lanzieri
6625a15bf6
sys/ztimer: add modules to Kconfig 2021-01-18 14:14:13 +01:00
Leandro Lanzieri
abe90f6aeb
sys/frac: add module to Kconfig 2021-01-18 14:14:13 +01:00
c579dbe953
schedstatistics: Log sleep tick statistics 2021-01-18 11:14:23 +01:00
Benjamin Valentin
5602587dd7 sys/sema_inv: add inverse Semaphore
It is often desiderable to sync on multiple threads, e.g. there can be a controller
thread that waits for `n` worker threads to finish their job.
An inverse semaphore provides an easy primitive to implement this pattern.

After being initialized with a value `n` (in counter mode), a call to `sema_inv_wait()`
will block until each of the `n` threads has called `sema_inv_post()` exactly once.

There are situations where workers might post an event more than once
(unless additional state is introduced).
For this case, the alternative mask mode is provided.
Here the inverse semaphore is initialized with a bit mask, each worker can clear one
or multiple bits with `sema_inv_post_mask()`. A worker can clear it's bit multiple times.
2021-01-17 00:17:58 +01:00
Hauke Petersen
ed2e40df63
Merge pull request #15781 from haukepetersen/add_sema_getvalue
sys/sema: add sema_get_value()
2021-01-16 13:03:03 +01:00
Hauke Petersen
606bcd66da posis/semaphore: use sema_get_value() 2021-01-15 16:17:25 +01:00
Hauke Petersen
7b0c5f9d5d sys/sema: add same_get_value() 2021-01-15 15:22:31 +01:00
cb221aaaf0
memarray: Add extend and reduce functions 2021-01-15 11:39:08 +01:00
a2ce2e9cfb
memarray: Add memarray_available function 2021-01-15 11:39:07 +01:00
5495da5840
memarray: use memarray_free to init elements 2021-01-15 11:20:29 +01:00
Jose Alamos
0bee606bd4
gcoap: remove gcoap_add_qstring
This feature was marked to be deprecated after the release 2020.10.
Therefore this commit removes that feature.
2021-01-14 16:03:00 +01:00
Francisco Molina
960e0c5f43
sys/ieee802154/submac: add handling of invalid CRC frames 2021-01-13 23:42:45 +01:00
Francisco Molina
fe1e16cdc7
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR 2021-01-13 23:42:41 +01:00
Jose Alamos
49f4ecc595
ieee802154: add helpers for RSSI and dBm conversion 2021-01-13 14:14:45 +01:00
Marian Buschsieweke
582f8d8430
Merge pull request #15754 from maribu/rssi
sys/net/gnrc: fix in-band signaling of no RSSI
2021-01-13 13:28:06 +01:00
Marian Buschsieweke
b50964f6fc
sys/net/gnrc: fix in-band signaling of no RSSI
Previously a value of 0 was used for the RSSI to signal that this value is not
present in `gnrc_netif_hdr_t`. However, an RSSI of 0 dBm is legal and even very
plausible data.

This commit defines `GNRC_NETIF_HDR_NO_RSSI` as `INT16_MIN`, which is below the
noise floor in the vacuum of outer space and hence impossible to receive.
For consistency, also GNRC_NETIF_HDR_NO_LQI is defined.
2021-01-13 08:53:33 +01:00
Marian Buschsieweke
8f24cc840c
sys/net/gnrc/sock: cleanup & fix aux handling
The logic used to check whether the RX timestamp was provided in the GNRC
implementation of `sock_ip_recv_buf_aux()` is incorrect: It still uses in-band
signalling via a timestamp of zero, but a dedicated flag was added to allow for
timestamps of zero.

Additionally, it is not necessary to check if a bit is set only to clear it -
clearing it unconditionally is faster and smaller.
2021-01-12 21:31:24 +01:00
dylad
25d0dffa61 Kconfig: add Kconfig support for DFU 2021-01-12 11:34:22 +01:00
dylad
beb0fb752c sys/riotboot: add DFU support to riotboot 2021-01-12 11:34:22 +01:00
dylad
f3908bed9f sys/auto_init: add support for USB DFU 2021-01-12 11:34:22 +01:00
dylad
669a8ec7b3 usbus/dfu: introduce initial Device Firmware Upgrade support for USBUS 2021-01-12 11:34:22 +01:00
1be0a29f62
Merge pull request #15742 from aabadie/pr/sys/posix_fcntl_headerguard_fix
[RFC] sys/posix/fcntl: fix headerguard
2021-01-12 10:12:19 +01:00
Dylan Laduranty
916f554d2a
Merge pull request #14629 from Ollrogge/usb_hid_pr
USB HID minimal implementation
2021-01-11 20:17:52 +01:00
Benjamin Valentin
89c97ae59a sys/od: allow to specify address offset with od_hex_dump_ext()
When dumping memory the printed addresses always start with `00000000`.
This can be very confusing and lead to errors.

Allow the user to specify a starting address of the printed memory that
will be used instead.

By introducing a wrapper function, existing users are unaffected.
2021-01-11 14:35:40 +01:00
f496aef7cc
sys/posix/fcntl: fix headerguard 2021-01-11 13:48:09 +01:00
Build Bot
122d7a0f35 usbus/hid: add minimal implementation 2021-01-11 00:24:30 +01:00
a57b88d6cc
usbus: Use atomic_utils for endpoint flag operations 2021-01-10 11:40:23 +01:00
04aaed6f86
sys/shell/nimble_netif: don't cast result of atoi 2021-01-08 14:37:33 +01:00
4c4a396120
sys/shell/sht1x: fix typo (PARMS => PARAMS) 2021-01-08 10:15:33 +01:00