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
Karl Fessel
f3d935e31f
Merge pull request #17705 from kfessel/p-fix-ztimer-compat
...
sys/ztimer/xtimer_compat: fix bug introduced in #17690 and ..
also adds missing
dummy XTIMER_BACKOFF
xtimer_init
xtimer_is_set
xtimer_rmutex_lock_timeout
2022-02-25 23:44:30 +01:00
benpicco
51e47e70cb
Merge pull request #17631 from benpicco/pkg/fatfs-non_tiny
...
pkg/fatfs_vfs: support FF_FS_TINY=0
2022-02-25 23:43:54 +01:00
Karl Fessel
08442dbc83
sys/ztimer/xtimer_comapt: add missing define and functions
...
- dummy XTIMER_BACKOFF
- xtimer_init
- xtimer_is_set
- xtimer_rmutex_lock_timeout
2022-02-25 16:32:35 +01:00
Karl Fessel
eb87cb7d3a
sys/ztimer/xtimer_compat: fix bug introduced in #17690
2022-02-25 13:52:18 +01:00
Francisco
d895a29c79
Merge pull request #17690 from kfessel/p-ztimer-xtimer-compat32
...
sys/ztimer: cleanup xtimer_compat.h for 32Bit only
2022-02-25 08:37:34 +01:00
benpicco
67b98fd741
sys/net/nanocoap: introduce nanocoap_sock_*()
...
Co-authored-by: Jan Romann <jan.romann@uni-bremen.de>
2022-02-24 12:20:47 +01:00
Benjamin Valentin
0b768e5602
nanocoap: add nanocoap_request_simple()
2022-02-24 12:20:05 +01:00
Benjamin Valentin
7dc2f730d2
nanocoap: check if all critical options were handled
2022-02-24 12:20:05 +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
Karl Fessel
822dbc718d
sys/ztimer: xtimer_compat (32) remove xtimer_now_timex()
2022-02-23 16:21:37 +01:00
Karl Fessel
d81fbf044b
sys/ztimer: cleanup xtimer_compat.h for 32Bit only
2022-02-23 16:01:05 +01:00
d43ad768f1
Merge pull request #17689 from fjmolinas/pr_event_timeout_deprecate_xtimer
...
sys/event/timeout: remove alternative xtimer implementation
2022-02-23 13:37:30 +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
c6151226ad
Merge pull request #17633 from fjmolinas/pr_ztimer_auto_adjust
...
sys/ztimer: add auto_adjust module
2022-02-23 10:01:05 +01:00
Benjamin Valentin
8322110f84
pkg/fatfs: support FF_USE_FASTSEEK=1
2022-02-22 15:03:55 +01:00
Benjamin Valentin
635016baf9
pkg/fatfs: support FF_FS_TINY=0
...
For increased performance it can be desireable to disable the tiny option.
The config option enables a per-file cache which increases the size
of `fatfs_file_desc_t`.
2022-02-22 15:03:55 +01:00
Francisco
ff39d5f388
Merge pull request #17657 from benpicco/shell/udp_cmd-fix
...
shell/sc_gnrc_udp: always use delay in µs
2022-02-22 10:44:57 +01:00
Francisco Molina
0a2b83358c
sys/net/dsm: add missing dependencies
2022-02-21 15:15:02 +01:00
Francisco
dd150fe47e
Merge pull request #17584 from benpicco/auto_init_leds
...
sys/auto_init: add auto_init_leds, drop LED init code from boards
2022-02-18 19:40:50 +01:00
Benjamin Valentin
982598a199
drivers/periph_common: add periph_init_leds to init all on-board LEDs
2022-02-18 14:35:43 +01:00
d758cb93ef
sys/ztimer: add auto_adjust module
2022-02-18 13:07:49 +01:00
benpicco
34b11e032d
Merge pull request #17675 from benpicco/net/dhcpv6-doc
...
sys/net/dhcpv6: enhance doc of CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX
2022-02-17 23:00:53 +01:00
chrysn
40f7c66625
Merge pull request #17660 from chrysn-pull-requests/vfs-drop-per-fs-fstatvfs
...
vfs: Introduce reliable disk enumeration
2022-02-17 18:47:41 +01:00
Benjamin Valentin
effa879a56
sys/net/dhcpv6: enhance doc of CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX
...
I always keep forgetting which option to tweak when I want multiple
downstream networks.
2022-02-17 18:46:28 +01:00
b2a93b0c7f
Merge pull request #17668 from fjmolinas/pr_sixlowpanfrag_xtimer_is_set
...
sys/net/gnrc_sixlowpan_frag_sfr: use xtimer_set
2022-02-17 09:48:01 +01:00
Francisco Molina
2005ba53f5
sys/include/ztimer: document CONFIG_ZTIMER_USEC_ADJUST_%
2022-02-17 09:30:09 +01:00
Francisco Molina
13bb00f863
sys/net/gnrc_sixlowpan_frag_sfr: use xtimer_is_set
2022-02-17 08:29:21 +01:00
chrysn
395d031cd3
Merge pull request #17661 from benpicco/vfs_mount_path
...
sys/vfs: add vfs_mount_by_path()
2022-02-16 23:42:51 +01:00
chrysn
d60f7aee72
sys/vfs: Deprecate public use of vfs_iterate_mounts
2022-02-16 19:15:02 +01:00
chrysn
b9b0ca8972
sys/shell/vfs: Use vfs_iter_mount_dirs instead of vfs_iter_mounts
...
This solves highly theoretical race conditions of file systems being
unmounted in an application while a shell `df` runs, fixes the previous
weird behavior that `/mountpoint/non-existant-path` could be df'd and
would even report that non-existant path as a file name, but more
practically ensures that an example of vfs_iter_mount_dirs is around.
2022-02-16 19:15:02 +01:00
chrysn
f0e80ee10c
tests: Cover vfs_iterate_mount_dirs in a new test
...
... adding precision to the documentation where a corner case was
discovered during testing and is permitted.
The test is too large for one small board, just like the other existing
VFS test.
2022-02-16 19:15:02 +01:00
chrysn
90069197f7
sys/vfs: Introduce vfs_iterate_mount_dirs
...
... as thread-safe replacement for vfs_iterate_mounts
2022-02-16 19:15:02 +01:00
chrysn
9a319a9b4f
sys/vfs: Iterate over file systems in sequence
...
This is a cosmetic change when considering vfs_iterate_mounts alone
(which now reports FSs in precise mount order rather than reporting the
most recently mounted, followed by the rest in mount order), but is
helpful for uses of it that need some guarantees in order to produce
reliable results even when iteration and (un)mounting interact.
2022-02-16 19:15:02 +01:00
Benjamin Valentin
609ed81f36
sys/shell: add vfs mount command
2022-02-16 18:55:26 +01:00
Benjamin Valentin
54d5f43aff
sys/vfs: add vfs_mount_by_path()
2022-02-16 18:55:26 +01:00
Benjamin Valentin
5b246d02c0
pkg/fatfs: fatfs_vfs: wire up format()
2022-02-16 14:30:08 +01:00
Francisco
9314a591cb
Merge pull request #16789 from kaspar030/fix_lto_linking
...
make: add -ffunction-sections -fdata-sections to LINKFLAGS if LTO=1
2022-02-15 19:48:46 +01:00
Benjamin Valentin
8bb405a493
shell/sc_gnrc_udp: always use delay in µs
2022-02-15 15:08:53 +01:00
Karl Fessel
c4b760cb6b
Merge pull request #17655 from kfessel/p-remove-evtimer-now-min
...
sys/evtimer: remove deprecated evtimer_now_min
2022-02-15 15:03:57 +01:00
chrysn
599eade495
sys/vfs: Add vfs_dstatvfs
2022-02-15 14:58:01 +01:00
chrysn
ff1f81aac8
sys/vfs: Drop per-filesystem fstatvfs
...
No current file system implements it, there is no defined semantic
difference between running fstatfs and the fallback currently
implemented, and there is practically no optimization gained from not
just running it through a single statvfs.
2022-02-15 14:58:01 +01:00
812b273845
sys/malloc_thread_safe: mark functions "used"
...
Fixes LTO.
2022-02-15 12:28:16 +01:00
Karl Fessel
726c461cb5
Merge pull request #17574 from kfessel/p-fix-asserth
...
core/assert: avoid including panic.h with assert.h
2022-02-15 11:57:55 +01:00
chrysn
4c54bd8bdb
vfs: Document that open directories are counted
...
The addition is helpful because directories are visibly different from
open files (and generally are not treated like files).
2022-02-15 11:17:02 +01:00
chrysn
69db27f1cc
Merge pull request #17614 from chrysn-pull-requests/ztimer-doc-stricter
...
sys/ztimer doc: List prerequisites for successful use of ztimer_now
2022-02-15 09:09:12 +01:00
Benjamin Valentin
d5dee30368
shell/sc_gnrc_udp: don't add delay after last packet
2022-02-14 17:58:20 +01:00
Benjamin Valentin
e22698f9cd
shell/sc_gnrc_udp: set proper timeout based on which timer is used
2022-02-14 17:52:55 +01:00