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

8483 Commits

Author SHA1 Message Date
Akshai M
1befae9022 net/lorawan : Invert 'LORAMAC_DEFAULT_PUBLIC_NETWORK'
Introduced a bool 'LORAMAC_DEFAULT_PRIVATE_NETWORK' to invert
the semantics of 'LORAMAC_DEFAULT_PUBLIC_NETWORK'. Move
'LORAMAC_DEFAULT_PRIVATE_NETWORK' to 'CONFIG_' namespace.
2021-01-26 16:52:58 +01:00
Akshai M
3c5c429541 net/lorawan : Move 'LORAMAC_DEFAULT_NETID' to 'CONFIG_' 2021-01-26 16:52:58 +01:00
Akshai M
e46c4401a9 net/lorawan : Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_' and added
additional symbols for Kconfig exposure.
2021-01-26 16:52:57 +01:00
Akshai M
9e626f471a net/lorawan : Move 'LORAMAC_DEV_ADDR_DEFAULT' to 'CONFIG_' 2021-01-26 16:52:57 +01:00
Akshai M
50e979c600 net/lorawan : Move 'LORAMAC_NWK_SKEY_DEFAULT' to 'CONFIG_' 2021-01-26 16:52:57 +01:00
Akshai M
43d7f28e63 net/lorawan : Move 'LORAMAC_APP_SKEY_DEFAULT' to 'CONFIG_' 2021-01-26 16:52:57 +01:00
Akshai M
d138fa9aad net/lorawan : Move 'LORAMAC_APP_KEY_DEFAULT' to 'CONFIG_' 2021-01-26 16:52:57 +01:00
Akshai M
bcb0ed38ff net/lorawan : Move 'LORAMAC_APP_EUI_DEFAULT' to 'CONFIG_' 2021-01-26 16:52:57 +01:00
Akshai M
5b4a873de5 net/lorawan : Move 'LORAMAC_DEV_EUI_DEFAULT' to 'CONFIG_' 2021-01-26 16:52:57 +01:00
Akshai M
3ecd304354 net/gnrc_lorawan : String keywords for keys
Swapped hex input for keys with string keywords.
2021-01-26 16:52:57 +01:00
Akshai M
a23dfb7ab9 net/skald : Update kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2021-01-26 16:17:18 +01:00
Akshai M
f7aff3c0aa net/skald : Add CONFIG_SKALD_ADV_CHANNELS to allow ordered list
Added `CONFIG_SKALD_ADV_CHANNELS` which is then parsed to
and ordered list `SKALD_ADV_CHAN`

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2021-01-26 16:17:17 +01:00
Martine Lenders
8e47621e7c
Merge pull request #15839 from maribu/gnrc_pktbuf_release_error
sys/net/gnrc_pktbuf: deduplicate code
2021-01-26 15:23:50 +01:00
Marian Buschsieweke
3970b667aa
sys/net/gnrc_pktbuf: deduplicate code
Implement gnrc_pktbuf_release_error() in gnrc_pktbuf once, rather than providing
two implementations in gnrc_pktbuf_static and gnrc_pktbuf_malloc
2021-01-26 10:50:19 +01:00
Hauke Petersen
4540b6273b ble/skald: switch from xtimer to ZTIMER_MSEC 2021-01-26 09:34:09 +01:00
Benjamin Valentin
d8918c24fa socket_zep: register with netdev 2021-01-25 22:59:01 +01:00
Francisco
de9f29cf42
Merge pull request #15835 from leandrolanzieri/pr/makefile/fix_default_modules_in_usemodules
Makefile.include: avoid recursive expansion of USEMODULE
2021-01-25 21:50:03 +01:00
benpicco
83201ddb00
Merge pull request #15760 from maribu/sock-aux-rssi
sys/net/sock: add sock_aux_rssi
2021-01-25 18:51:11 +01:00
benpicco
1862a73d41
Merge pull request #15844 from benpicco/sys/oneway-malloc_align
sys/oneway-malloc: only allocate word-aligned chunks
2021-01-25 14:31:37 +01:00
Benjamin Valentin
65ab38a894 sys/oneway-malloc: only allocate word-aligned chunks
If an unevenly sized allocation is requested, the next buffer handed
out would start at an unaligned address.

Fix this by rounding up to the next word-sized allocation size.
2021-01-25 12:05:05 +01:00
Leandro Lanzieri
91ff4e5ce5
sys/Makefile.dep: default saul_init_devs to y when saul_default is used 2021-01-25 09:17:00 +01:00
Fabian Hüßler
7d618afa17 nrf24l01p_ng: make use of netdev_register() 2021-01-24 20:49:39 +01:00
fabian18
f7a77ebb04 drivers/nrf24l01p_ng: netdev driver for nrf24l01+
The driver uses the netdev interface. Due to the limited
capabilities of the transceiver (32 byte FIFO and no source address in the layer2 frame),
it relies on 6LowPAN compression and adds the source address to the frame for that.
2021-01-24 20:49:39 +01:00
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
c0765d9e07
sys/net/grnc: implement sock_aux_rssi 2021-01-13 13:29:13 +01:00
Marian Buschsieweke
f0ba796e5d
sys/net/sock: add sock_aux_rssi
Allow accessing the RSSI value of received UDP datagrams / IP packets with the
sock API.
2021-01-13 13:29:13 +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
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
Martine S. Lenders
0af8a1600a
sixlowpan|gnrc_sixlowpan: change SFR draft to RFC in doc 2020-12-14 09:00:26 +01:00
Martine S. Lenders
27f4939211
gnrc_sixlowpan_frag_vrb: add reverse look-up
To label switch ACKs for fragments back to the originator, a reverse
look-up in the VRB is required.
2020-12-14 09:00:25 +01:00
benpicco
5f7a7bc6f1
Merge pull request #15572 from dylad/pr/cpu/sam0/ethernet
cpu/sam0: add initial ethernet support
2020-12-14 08:17:01 +01:00
benpicco
cc55d4c0a6
Merge pull request #15605 from maribu/ztimer_xtimer_compat
sys/ztimer: increase xtimer_compat coverage
2020-12-14 00:24:34 +01:00
Benjamin Valentin
d4acf95a27 net/eui_provider: drop useless EUI provider arg parameter
This has never been used and we might as well define a second
callback function instead of using a generic one with an arg.
2020-12-14 00:22:43 +01:00
Benjamin Valentin
d616995d7b net/eui_provider: define board EUI providers in eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
fe9ae5bc80 net/eui_provider: provide index to the callback function
If the same callback function is used for multiple interfaces
(`NETDEV_INDEX_ANY`), it is necessary to also provide the index of
the interface to hand out and address.
2020-12-14 00:22:18 +01:00
dylad
5b7961b747 sys/net: add sam0 eth auto init 2020-12-13 22:01:50 +01:00
Martine Lenders
b6bf67114b
Merge pull request #15536 from fjmolinas/pr_openwsn_sock_selfhosted
pkg/openwsn: add sock_udp
2020-12-11 11:22:50 +01:00
Francisco Molina
1d1e4b6e7b
sys/Makefile.dep: add openwsn shell_commands missing dependency 2020-12-11 09:07:52 +01:00
Francisco Molina
c97f025333
Makefile.dep: fix sock_async deps 2020-12-11 09:07:51 +01:00
Francisco Molina
2761bba370
sys/shell/commands/sc_openwsn: update components 2020-12-11 09:07:49 +01:00
Francisco Molina
5c26f53828
pkg/openwsn: add openwsn_sock_udp module
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2020-12-11 09:07:48 +01:00
benpicco
8dc0b01e21
Merge pull request #15577 from Hxinrong/cord_common_add_qstringBranch
add error check of cord_common_add_qstring()
2020-12-11 08:38:43 +01:00
benpicco
c5b5788eb7
Merge pull request #15570 from benpicco/sys/bit.h
sys/bit: move bit.h header to sys/
2020-12-11 08:36:36 +01:00
Martine Lenders
08d86295d2
Merge pull request #15560 from maribu/gnrc-aux-rx-timestamps
net/gnrc/sock: Implement sock_aux_timestamp for RX
2020-12-10 19:20:16 +01:00
Marian Buschsieweke
d95192e97b
sys/net/gnrc/sock: Add support for RX timestamp 2020-12-10 17:43:11 +01:00
Francisco
7bbe36ff6b
Merge pull request #15588 from benpicco/native/pm_layered
cpu/native: pm: fix build with pm_layered
2020-12-10 13:05:45 +01:00
Marian Buschsieweke
76cc81880e
sys/ztimer: increase xtimer_compat coverage
- add some xtimer specific defines some tests rely on
- provide the following missing functions:
    - xtimer_ticks()
    - xtimer_set_timeout_flag()
    - xtimer_set_timeout_flag64()
    - xtimer_spin()
2020-12-09 20:59:30 +01:00
Martine Lenders
eafa026db2
Merge pull request #15599 from benpicco/byteorder_htoll
follow-up: use byteorder_htoll()
2020-12-09 18:24:18 +01:00
Marian Buschsieweke
e3ecb74765
Merge pull request #15592 from maribu/ztimer_mutex_lock_timeout
sys/ztimer: add ztimer_mutex_lock_timeout()
2020-12-09 17:48:51 +01:00
1eb30f1cd7
Merge pull request #15566 from dylad/pr/usbus/string_descr_for_alt_if
usbus: add optional string descriptor for alt interface
2020-12-09 14:52:40 +01:00
f9c40e31bc
Merge pull request #15565 from dylad/pr/usbus/add_interface_alt_helper
usbus: add usbus_add_interface_alt() helper function
2020-12-09 14:52:21 +01:00
Benjamin Valentin
2ddfc46234 gnrc/lorawan: use byteorder_htoll() 2020-12-09 14:21:56 +01:00
Benjamin Valentin
b0c626a2a7 ieee802154/security: use byteorder_htoll() 2020-12-09 14:17:46 +01:00
benpicco
1477a340fe
Merge pull request #15150 from fabian18/ieee802154_security
Initial implementation of IEEE 802.15.4 security
2020-12-09 14:14:27 +01:00