Martine Lenders
0079b0c52f
event_periodic_callback: remove unnecessary dependency
2022-09-20 09:49:30 +02:00
benpicco
f03f5384c1
Merge pull request #18355 from maribu/sys/shell/cmds
...
sys/shell: make cmds submodules and add KConfig modeling
2022-09-19 21:07:23 +02:00
Marian Buschsieweke
c06335b71b
sys/shell: make cmds submodules
...
Previously `shell_commands` was a "catch-all" module that included
shell commands for each and every used module that has a shell
companion. Instead, the new `shell_cmds` module is now used to provide
shell commands as individually selectable submodules, e.g.
`cmd_gnrc_icmpv6_echo` now provides the ICMPv6 echo command (a.k.a.
ping).
To still have a "catch all" module to pull in shell commands of modules
already used, `shell_cmds_default` was introduced. `shell_commands`
depends now on `shell_cmds_default` for backward compatibility, but
has been deprecated. New apps should use `shell_cmds_default`
instead.
For a handful of shell commands individual selection was already
possible. Those modules now depend on the corresponding `cmd_%` module
and they have been deprecated.
2022-09-16 13:15:45 +02:00
Benjamin Valentin
00c11c3f9d
event_periodic_callback: add convenience wrapper for periodic callbacks
2022-09-15 18:36:41 +02:00
chrysn
7f64521c10
Merge pull request #18424 from benpicco/ncget-convenience
...
sys/shell: ncget: convenience improvements
2022-08-31 23:40:35 +02:00
Benjamin Valentin
51804679e6
sys/shell: ncget: make use of vfs_is_dir()
2022-08-31 17:23:20 +02:00
Marian Buschsieweke
276ad5716a
sys/net/gnrc/netif: allow checking if a netdev is legacy or new API
...
A if `netdev_driver_t::confirm_send()` is provided, it provides the
new netdev API. However, detecting the API at runtime and handling
both API styles comes at a cost. This can be optimized in case only
new or only old style netdevs are in use.
To do so, this adds the pseudo modules `netdev_legacy_api` and
`netdev_new_api`. As right now no netdev actually implements the new
API, all netdevs pull in `netdev_legacy_api`. If `netdev_legacy_api` is
in used but `netdev_new_api` is not, we can safely assume at compile
time that only legacy netdevs are in use. Similar, if only
`netdev_new_api` is used, only support for the new API is needed. Only
when both are in use, run time checks are needed.
This provides two helper function to check for a netif if the
corresponding netdev implements the old or the new API. (With one
being the inverse of the other.) They are suitable for constant folding
when only new or only legacy devices are in use. Consequently, dead
branches should be eliminated by the optimizer.
2022-08-17 12:56:07 +02:00
José Alamos
50e4498c84
Merge pull request #18435 from jia200x/pr/bhp
...
sys/bhp_*: add initial support for generic Bottom Half Processor
2022-08-12 09:58:18 +02:00
Jose Alamos
0a3f58158b
sys/bhp_event: add Event based implementation for Bottom Half Processor
2022-08-11 10:57:54 +02:00
benpicco
c125e3d98a
Merge pull request #18133 from fabian18/gcoap_fileserver_file_and_directory_creation
...
gcoap/fileserver: add file and directory creation and deletion
2022-08-04 16:14:29 +02:00
Fabian Hüßler
9333970b77
gcoap/fileserver: make PUT and DELETE pseudomodules
2022-08-03 22:10:30 +02:00
Benjamin Valentin
0cb3746a97
sock_dns_mock: pull in DNS module
2022-07-31 17:39:04 +02:00
Martine Lenders
8ad68dbb21
Merge pull request #16861 from miri64/sock_dodtls/feat/initial
...
sock_dodtls: Initial import of a DNS over DTLS client
2022-07-27 13:17:23 +02:00
Martine Lenders
f575292e20
sock_dodtls: Initial import of a DNS over DTLS client
2022-07-26 19:37:12 +02:00
Marian Buschsieweke
cab761ba5d
sys/shell/commands/sc_gnrc_icmpv6_echo: use ztimer
2022-07-21 13:20:11 +02:00
Marian Buschsieweke
3a5e3636bb
sys/shell/commands/sc_gnrc_icmpv6_echo: fix dependency
...
Add missing dependency to xtimer so that the shell command `ping` is
again provided when requested.
2022-07-21 13:20:10 +02:00
Martine Lenders
8bec9c1115
sock_dns_cache: move to dns_cache
...
Also piggy-back some fixes to the unittests and submodule handling
2022-07-18 15:27:58 +02:00
Benjamin Valentin
077a41a719
sock_dns: implement DNS cache
2022-07-13 23:23:52 +02:00
Martine Lenders
a8254d52b8
Merge pull request #16705 from miri64/gcoap_dns/feat/initial
...
gcoap_dns: initial import of a DNS over CoAP (DoC) client
2022-07-13 02:27:17 +02:00
chrysn
ebfa6f61d6
shell/democommands: Add example Rust module
2022-07-10 21:27:12 +02:00
chrysn
ba76c6ee65
Rust: Add crates-to-module adapter
2022-07-09 21:15:29 +02:00
Martine Lenders
107a2a0753
gcoap_dns: initial import of a DNS over CoAP client
2022-07-01 18:44:02 +02:00
Hendrik van Essen
2284f87fdb
sys/shell: add module shell_lock
...
Module to lock the running shell with a password. Shell is proceeded only
when the valid password was entered by the user. After 3 failed attempts,
the input is blocked for a few seconds to slow down brute force attacks.
Does not make use of any cryptographic features yet.
2022-06-08 12:53:48 +02:00
benpicco
6019925c75
Merge pull request #17943 from fjmolinas/pr_suit_vfs_storage
...
sys/suit/storage/vfs: initial import
2022-06-07 09:33:37 +02:00
Francisco Molina
f485e9b0d9
sys/storage/vfs: initial import
2022-06-03 08:49:44 +02:00
Benjamin Valentin
8e5812d218
suit/transport: move common code to new file
2022-06-01 13:00:51 +02:00
Benjamin Valentin
dd4a578ef3
suit/transport/vfs: add VFS as source for firmware updates
2022-06-01 13:00:50 +02:00
Benjamin Valentin
87359bb70a
nanocoap_vfs: add nanocoap_vfs_get()
2022-05-24 09:32:57 +02:00
chrysn
185dfea07f
gcoap_fileserver: New module to serve VFS via CoAP
2022-05-22 16:36:21 +02:00
Benjamin Valentin
ff27db9bce
sys/shell: add sha256sum command
2022-05-17 11:32:25 +02:00
Benjamin Valentin
845450c663
sys/shell: add md5sum command
2022-05-17 11:30:52 +02:00
benpicco
1c97eea8b9
Merge pull request #18038 from benpicco/vfs_util
...
sys/vfs_util: add VFS helper functions
2022-05-17 02:17:38 +02:00
Benjamin Valentin
c15e87475b
sys/vfs_util: add VFS helper functions
2022-05-16 13:52:29 +02:00
Cenk Gündoğan
8750605d26
nanocoap: add cache for response messages
2022-05-10 18:43:56 +02:00
Benjamin Valentin
e621afb2dc
gcoap: ensure response address is the same as request address
...
If a node has multiple addresses we must reply to a request with the
same address on which the request was received.
2022-05-10 09:24:56 +02:00
Benjamin Valentin
bd7fe3bc5c
nanocoap_sock: calculate deadline from interval
...
So we don't have to wait a full interval again if we got a wrong
message without resend.
2022-04-22 10:35:52 +02:00
benpicco
4bad5a10bc
Merge pull request #17944 from fjmolinas/pr_gcoap_deps_fixes
...
gcoap: small dependencies fixes
2022-04-14 18:34:45 +02:00
Francisco Molina
34eb65642c
sys/Makefile.dep: cleanup gcoap deps
...
- GCOAP requires random functions
- openwsn_sock_udp is elected if openwsn stack is used and sock_udp
as well, so remove redundant dependency
2022-04-14 09:05:08 +02:00
Peter Kietzmann
5a8654ecab
Merge pull request #17096 from Ollrogge/fido2_follow_up
...
Fido2 follow up
2022-04-13 12:14:43 +02:00
Ollrogge
3306dffe23
sys/fido2: update flash handling && bug fixes
2022-04-11 13:03:41 +02:00
Martine Lenders
0f1674379a
congure_reno: initial import of TCP Reno congestion control
2022-04-08 14:37:47 +02:00
Karl Fessel
eabdf45b30
net/csma_sender: convert to ztimer_usec
2022-03-31 23:37:54 +02:00
Karl Fessel
ddbf64ccca
sys/suit_transport_coap: convert to ztimer_msec, rm unused deadline_fns
2022-03-31 23:37:15 +02:00
Karl Fessel
5fe9e9e2ab
posix/sockets: do not require timer
...
timer is required by the sock implemetation
2022-03-31 12:50:37 +02:00
Karl Fessel
a42c39dbea
net/uhcp: convert to ztimer
2022-03-31 12:50:31 +02:00
Francisco Molina
0819660303
sys/syscalls: add libc_gettimeofday
...
Conditionally implement gettimeofday() if module is included, this
avoids including ztimer64 even when not needed
2022-03-24 11:36:49 +01:00
Francisco Molina
7227d1bb77
sys/xtimer: move dependencies to xtimer/Makefile.dep
2022-03-17 14:37:40 +01:00
Cenk Gündoğan
fa19b62cdb
gcoap/forward_proxy: add submodule
2022-03-11 14:53:17 +01:00
b29a658555
Merge pull request #17719 from fjmolinas/pr_sys_posix_convert
...
sys/sema: add sema_ztimer64 to implement old api, deprecate sema
2022-03-10 15:36:06 +01:00
Francisco Molina
0fa1551500
sys/posix: convert to ztimer64_usec
2022-03-10 14:24:57 +01:00