Francisco Molina
f6e9609363
treewide: use sema_deprecated when required
2022-03-10 14:24:46 +01:00
Francisco Molina
2e2daae5d0
sys/sema: use sema_ztimer64 to implement old sema api
...
This PR removes the old xtimer based implementation for sema. Since
this implementation used 64bit timeout, backweard compatibility is
kept by having `sema_wait_timed` be implemented by `ztimer64_usec`
which is enabled by selecting `sema_deprecated`
With this 64bit `sema` api is now deprecated.
2022-03-10 14:19:44 +01:00
Francisco
8fa2687880
Merge pull request #17753 from fjmolinas/pr_fido2_all_ztimer
...
sys/fido2: use ztimer instead of xtimer
2022-03-10 08:08:30 +01:00
benpicco
9896071bb9
Merge pull request #17493 from HendrikVE/pr/auto_init_sock_dns
...
sys/net/application_layer/sock_dns: add pseudomodule auto_init_sock_dns
2022-03-10 00:53:32 +01:00
Hendrik van Essen
0b0910f82a
sys/net/application_layer/sock_dns: add pseudomodule auto_init_sock_dns
2022-03-09 20:05:20 +01:00
Francisco Molina
8e3422781d
sys/fido2: use ztimer instead of xtimer
...
- for ctap hid timeouts xtimer was used, use ztimer64_msec instead
since the code is using absolute times, an already using ztimer_msec
- use event_timeout_ztimer instead of event_timeout to not pull in
xtimer
2022-03-04 17:04:28 +01:00
Francisco Molina
6151895bfa
sys: use ztimer64_xtimer_compat when required
2022-03-02 14:28:54 +01:00
Francisco Molina
bf83387030
sys: if xtimer_ztimer_compat, evtimer uses ztimer
...
The xtimer based module was only there to avoid duplicate code,
is the compat layer is used this does not make sense.
2022-03-02 08:59:52 +01:00
Francisco Molina
fc169b98cd
sys/trickle: if ztimer_xtimer_compat is used, use ztimer_msec
...
If already using the compat layer then just use ztimer_msec otherwise
the 64bit compat layer would be needed for this module
2022-03-02 08:59:52 +01:00
Benjamin Valentin
2034fa5101
sys/net/application_layer: add telnet server module
2022-03-01 23:07:22 +01:00
a17ff53ecf
Merge pull request #17485 from benpicco/sock_udp_sendv
...
sys/net/sock: add sock_udp_sendv() API
2022-03-01 14:05:21 +01:00
benpicco
bbfa69153e
Merge pull request #17474 from benpicco/nanocoap-suit
...
sys/net/nanocoap: introduce `nanocoap_sock_*()`, use in suit/transport/coap
2022-02-27 02:07:50 +01:00
Francisco Molina
106db4616b
sys/Makefile.dep: add missing newlib_syscalls dep
2022-02-24 09:10:58 +01:00
df8086091f
sys/ztimer: add ztimer64_xtimer_compat
...
The ztimer64_xtimer_compat modules implements the whole xtimer api
on top of ztimer64_usec
2022-02-24 09:10:58 +01:00
Francisco Molina
dff92b59b5
sys/event/periodic: remove wrong event_timeout_dependency
2022-02-23 12:14:52 +01:00
Francisco Molina
b4a70fc29c
sys/event/timeout: remove alternative xtimer implementation
...
The old event_timeout API is no soley implemented on top of ztimer_usec.
2022-02-23 12:14:30 +01:00
Benjamin Valentin
2a129fc327
sys/net/sock: add sock_udp_sendv() API
2022-02-22 10:05:41 +01:00
Francisco Molina
0a2b83358c
sys/net/dsm: add missing dependencies
2022-02-21 15:15:02 +01:00
benpicco
78e4f6b557
Merge pull request #17643 from benpicco/vfs_default
...
sys/vfs: add vfs_default, configure default fs for same54-xpro
2022-02-14 16:33:23 +01:00
Benjamin Valentin
92d9d5676a
sys/vfs: add vfs_default pseudo-module
2022-02-14 13:04:37 +01:00
Francisco Molina
3de5549899
makefile: move DEFAULT_MODULEs with deps to default_modules.deps.mk
2022-02-14 13:03:32 +01:00
Francisco Molina
08dc06d5e0
sys/Makefile.dep: fix dhcp_relay dependency
...
Modules select by auto-init modules MUST NOT have dependencies
themselfs, dhcp_relay was not respecting that. Instead of having
the auto-init module select dhcp_relay, do it the other way
around.
2022-02-14 12:59:31 +01:00
Silke Hofstra
9d61bdbb06
sys/senml: add SenML modules
...
Add a basic SenML module and submodules with support for:
- Encoding SenML values as CBOR using NanoCBOR.
- Converting from Phydat to SenML.
- Reading and encoding SAUL sensors.
2022-02-11 12:38:21 +01:00
benpicco
be45400631
Merge pull request #17341 from benpicco/vfs-mtd_cleanup
...
sys/vfs: add file-system auto-mount
2022-02-09 21:50:34 +01:00
Benjamin Valentin
2f6aa71946
sys/vfs: add file-system auto-mount
2022-02-09 12:21:53 +01:00
Leandro Lanzieri
1e300a4959
Merge pull request #17435 from Ollrogge/fido2_kconfig
...
sys/fido2: model Kconfig
2022-02-01 12:03:11 +01:00
Ollrogge
1dde2cd3bc
sys/fido2: remove unnecessary module import from Makefile.dep
2022-01-31 16:49:38 +01:00
Benjamin Valentin
2682848a29
suit/transport/coap: move suit_coap_get_blockwise() to nanocoap
2022-01-27 14:42:49 +01:00
c21730a765
Merge pull request #17406 from fjmolinas/pr_twr_aloha_rework
...
examples/twr_aloha: refactor
2022-01-21 10:08:46 +01:00
Leandro Lanzieri
d8e84434a8
sys/Makefile.dep: Remove unneeded include
2022-01-19 10:16:34 +01:00
Marian Buschsieweke
71ed611607
Merge pull request #17366 from aabadie/pr/can_ztimer
...
sys/can: migrate to ztimer
2022-01-12 17:56:41 +01:00
ce373902ee
sys/can: migrate to ztimer
2022-01-10 12:21:40 +01:00
Gunar Schorcht
2dcd761954
sys/arduino: enable arduino_serial_stdio if stdio_cdc_acm is used
2022-01-06 17:27:53 +01:00
Gunar Schorcht
eaf3a4c81a
sys/cpp11-compat: use new/delete from sys/cpp_new_delete
...
The `new` and `delete` operators that don't need `libtsdc++` are also provided by module `sys/cpp_new_delete` for platforms that don't have the `libstdc++`. Since these operators in `sys/cpp11-compat` are just wrappers for standard `malloc`/`free` functions like in `sys/cpp_new_delete`, the `new`/`delete` operators that don't need `libstdc++` are used from `sys/cpp_new_delete`. Only the `new`/`delete` operators that require the `libstd++` are left in `sys/cpp11-compat`.
So it is sufficient for the use of the (re)defined `new`/`delete` operators that an application uses the module `sys/cpp_new_delete` instead of `sys/cpp11-compat` and thus also works on platforms without `libstdc++`.
2022-01-06 09:50:14 +01:00
Francisco Molina
efeecae3a5
sys/Makefile.dep: remove ztimer_periodic dep
...
This module does not exist, its part of ztimer core.
2021-12-15 15:52:08 +01:00
Karl Fessel
427df6d59d
suit: example doesn't need xtimer suit_coap needs xtimer
2021-12-14 22:53:01 +01:00
Karl Fessel
0a25554ca7
net/uhcpc: depends on xtimer
2021-12-14 22:53:01 +01:00
benpicco
cfaa167469
Merge pull request #16598 from benpicco/sys/shell/udp
...
examples/gnrc_networking: move udp command to shell commands
2021-12-13 15:03:18 +01:00
Karl Fessel
6347dcdffc
Merge pull request #17141 from kfessel/p-ztimer-gcoap
...
net/gcoap: port to ztimer
2021-12-09 15:22:10 +01:00
d959ce7eea
Merge pull request #16928 from kaspar030/ztimer64
...
sys/ztimer64: initial PR
2021-12-09 10:17:15 +01:00
Karl Fessel
08ef57fbd0
Merge pull request #16126 from kfessel/p-mix-schedrr
...
sys/sched_rr: Add a round robin scheduler module
2021-12-08 16:01:57 +01:00
439fcbf392
sys/ztimer64: initial implementation
...
Co-authored-by: Francisco Molina <femolina@uc.cl>
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-12-07 23:57:56 +01:00
Francisco
97b4dd3a57
Merge pull request #17216 from bergzand/pr/ps_schedstatistics/ztimer
...
schedstatistics: Convert to ztimer
2021-12-07 20:22:58 +01:00
4b95459483
schedstatistics: Convert to ztimer
2021-12-07 16:31:15 +01:00
Karl Fessel
9195a4f02b
net/gcoap: most ZITMER_USEC to ZTIMER_MSEC
2021-12-06 13:31:18 +01:00
Karl Fessel
f56eb9bb83
net/gcoap: port to ztimer_usec
2021-12-06 13:31:18 +01:00
13a7aaf1d7
sys/trace: migrate to ztimer
2021-12-04 11:55:47 +01:00
Francisco Molina
6c029bced6
sys/Makefile.dep: fix event periodic dependency
2021-12-02 07:59:14 +01:00
Francisco Molina
81c5d5dbcc
sys/event/timeout: split xtimer, ztimer backends, don't force usec
...
This PR makes `event_timeout` and `event_timeout_ztimer` two distinct
pseudomodules, where the only api difference is in the init function.
If only `event_timeout_ztimer` is selected then no default ZTIMER
backend is selected and the old init function is not implemented.
If only `event_timeout` is selected then `xtimer` is used unless
`ztimer_usec` is included. In which case the `xtimer` wrapper on top
of `ztimer` is used and `xtimer` is not directly selected. This
allows for the legacy api to be supported with `ztimer_usec` as
a drop-in replacement.
If `event_timeout` and `event_timeut_ztimer` are selected then
`event_timeout` SRC file is excluded from compilation.
2021-11-17 10:15:11 +01:00
MrKevinWeiss
5a66307314
sys/turo: Allow default selection of json
2021-11-16 08:37:45 +01:00
3871948015
Merge pull request #17126 from bergzand/pr/benchmark/ztimer
...
sys/benchmark: Convert to ztimer
2021-11-15 18:56:18 +01:00
8c2f0dd2af
sys/benchmark: Convert to ztimer
2021-11-15 14:14:23 +01:00
Daniel Lockau
9e1e7be77e
sys/suit: adjust dependencies for CoAP transport
2021-11-11 13:58:32 +01:00
Karl Fessel
8c3aad1c25
sys/sched_round_robin: Add a round robin scheduler module
2021-11-11 13:18:52 +01:00
5c01e14b7a
riotboot_dfu: Add ztimer_msec dependency
2021-10-26 14:14:45 +02:00
José Alamos
280c756c7a
Merge pull request #16826 from jia200x/pr/submac/test/remove_netdev
...
tests/ieee802154_submac: remove netdev dependency
2021-09-29 15:05:43 +02:00
Leandro Lanzieri
0129cbe954
Merge pull request #16594 from fjmolinas/pr_sys_fortuna_reseed_ms
...
sys/random/fortuna: change interval ressed to ms
2021-09-27 20:46:06 +02:00
Francisco Molina
1af2462404
sys/fortuna: remove need for now64
...
Use a timer to required a reseed, enable use of plain ztimer (no now64)
2021-09-27 17:30:05 +02:00
Leandro Lanzieri
9980aa35b3
sys/net/credman: add key loading functions
...
This allows to load private and public keys encoded in DER format.
2021-09-20 08:10:59 +02:00
Martine Lenders
913573a200
Merge pull request #16702 from miri64/ut_process/feat/initial
...
ut_process: initial import of a URI template processor
2021-09-17 09:43:20 +02:00
Martine Lenders
7c60f6031c
ut_process: initial import of a URI template processor
2021-09-16 18:18:48 +02:00
Jose Alamos
b9da266820
ieee802154/submac: add missing dependency to random
2021-09-08 17:29:44 +02:00
Ollrogge
e127a4d865
FIDO2 support in RIOT
2021-09-08 15:22:40 +02:00
Martine Lenders
4afc65688f
dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent
2021-08-11 13:19:06 +02:00
Martine Lenders
6da2f0fab3
Merge pull request #16669 from miri64/sock_dns/enh/factor-out-msg-parsing
...
sock_dns: factor out message parsing and composition
2021-08-11 12:43:26 +02:00
Martine Lenders
e8cbc6da85
dns: move message parsing and composition to own module
2021-08-11 11:55:29 +02:00
Martine Lenders
6493241ed4
dhcpv6_client: add ztimer backend support
2021-07-21 16:28:39 +02:00
Martine Lenders
805952c5ce
dhcpv6_client: use event_timeout instead of xtimer
2021-07-21 16:28:37 +02:00
Benjamin Valentin
da7d3779bf
examples/gnrc_networking: move udp command to shell commands
...
The `udp` command is a valuable debugging tool that is also useful
outside of the gnrc_networking example.
To enable easy sending of udp messages in other applications during
development, move the `udp` command to the shell module and introduce
the `gnrc_udp_cmd` pseudo-module to enable it.
2021-07-21 11:19:47 +02:00
benpicco
4f905bfa8c
Merge pull request #15493 from benpicco/riotboot-serial
...
riotboot: implement serial flasher
2021-07-21 11:01:31 +02:00
Martine Lenders
7793098ed8
Merge pull request #16634 from benpicco/gnrc_netif_parse_hostname
...
netutils: add netutils_parse_hostname()
2021-07-21 10:11:25 +02:00
Benjamin Valentin
a05723e5cb
rioboot: add option to reset to riotboot
2021-07-20 22:51:15 +02:00
Benjamin Valentin
7a07b7471f
riotboot: implement serial bootloader feature
2021-07-20 22:50:41 +02:00
Benjamin Valentin
657be1c488
sys/shell/commands: gnrc_icmpv6_echo: use netutils_get_ipv6()
2021-07-20 22:44:40 +02:00
Benjamin Valentin
3081eeb556
netutils: add netutils_get_ipv6()
2021-07-20 22:44:39 +02:00
Jose Alamos
c8f9d85002
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
...
This commit fixes the dependency resolution of `gnrc_netif_cmd_lora`.
As it was, this module was pulled by the driver if `gnrc` was used.
Besides pulling an extra dependency in applications that don't use
`shell_commands` or `gnrc_lorawan`, this hardcodes the module
resolution in the drivers.
This commit pulls `gnrc_netif_cmd_lora` if `shell_commands` and
`gnrc_lorawan` are present.
2021-07-09 13:29:07 +02:00
44dc4dcbac
suit: Move riotboot dependency to suit_storage_flashwrite
2021-07-08 10:22:14 +02:00
János Brodbeck
23a8659bdf
net/gcoap: support DTLS
2021-07-07 14:45:30 +02:00
MrKevinWeiss
6884927c3f
sys/arduino: Remove option
...
There is no clear reason why this should be configurable and causes an abstraction of USEMODULE.
The true reason is to make Kconfig easier but it seems having a variable in USEMODULE is a bit strange.
2021-07-02 15:11:09 +02:00
Martine Lenders
4deb15cb6f
dhcpv6_client: add DNS recursive name server option handling
...
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-06-24 16:01:59 +02:00
746f56cc3f
sys/arduino: use ztimer as backend high-level timer
2021-06-17 10:23:21 +02:00
Francisco Molina
3e4e664071
ztimer: remove duplicate dependencies
2021-06-16 11:18:25 +02:00
Hauke Petersen
c5d1a34b83
sys/trickle: migrate to ZTIMER_MSEC
2021-06-14 09:04:25 +02:00
Francisco Molina
4ddbac3be3
sys/event: add periodic event
2021-06-03 17:53:44 +02:00
Francisco Molina
4f34e50130
sys/event/timeout: add option to use ztimer as backend
2021-05-27 22:34:01 +02:00
Ollrogge
427d2bd06e
sys/crypto: Enable support for AES-192, AES-256
2021-05-03 17:34:49 +02:00
Marian Buschsieweke
19d92cb455
sys/net/gnrc/Makefile.dep: split out of sys/Makefile.dep
2021-04-23 20:29:38 +02:00
Hauke Petersen
75dbf65256
net/gnrc/sixlowpan/ctx: use ztimer if available
2021-04-16 11:38:54 +02:00
Hauke Petersen
b339e91e18
sys/sema: allow to use ztimer and/or xtimer
2021-04-12 13:08:39 +02:00
Marian Buschsieweke
1454dc3566
sys/Makefile.dep: clean up
2021-04-01 11:06:22 +02:00
Martine Lenders
fd36c626a3
Merge pull request #15950 from MrKevinWeiss/pr/turo/initial
...
sys/test_utils/result_output: Initial implementations and API of turo
2021-03-15 11:35:01 +01:00
MrKevinWeiss
6a3eb46d5e
sys/result_output: Expose result output
2021-03-12 16:20:33 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule
2021-03-10 14:18:13 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
...
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +01:00
Francisco
fc82e3916e
Merge pull request #15931 from haukepetersen/add_dbgpin3
...
sys: add `dbgpin` module for debugging and profiling (take 2)
2021-03-09 10:26:37 +01:00
Hauke Petersen
2d582cdd2e
sys: initial import of dbgpin module
2021-02-26 11:34:52 +01:00
Martine Lenders
e65fee4587
congure_test: initial import of CongURE test framework
2021-02-26 10:08:12 +01:00
Martine Lenders
2f2a009e7a
congure: initial import of a congestion control framework
2021-02-26 10:08:11 +01:00
f97267ba68
sys/net: add netstats_neighbor
2021-02-09 12:27:58 +01:00
Martine Lenders
209b48e385
Merge pull request #15694 from maribu/gnrc_tx_sync
...
sys/net/gnrc/tx_sync: new module
2021-02-08 19:47:43 +01:00