Benjamin Valentin
5476d74f53
tools/dhcpv6-pd_ia: create /run/kea on startup
...
On Ubuntu KEA expects this directory to be present, but it is not
created automatically.
/run is also a tmpfs, so we have to create the directory after each
reboot.
2022-02-17 18:34:07 +01:00
Jue
4bb6a764ea
cpu/efm32: select series-specific drivers in periph Makefile
...
This will allow to share implementations across a subset of EFM32 series.
2022-02-17 11:09:24 +01:00
PeterKietzmann
b348c9ff11
cpu/esp32: enable puf_sram feature
2022-02-17 11:08:11 +01:00
Jue
bdc827dd30
pkg/gecko_sdk: update to v4.0
2022-02-17 10:54:04 +01:00
Francisco
e58af6a876
Merge pull request #17619 from benpicco/drivers/mtd_sdcard-unaligned
...
drivers/mtd_sdcard: support unaligned reads & writes
2022-02-17 10:09:06 +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
Marian Buschsieweke
f232401391
Merge pull request #17667 from benpicco/drivers/at86rf215-disable_mod
...
drivers/at86rf215: fix disabling individual modulations
2022-02-16 22:26:08 +01:00
chrysn
2a3ef85b8e
Merge pull request #17666 from chrysn-pull-requests/mtd-docs
...
mtd doc: Add overview defining terms; link modules
2022-02-16 19:53:41 +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
03dc48602e
drivers/at86rf215: fix disabling individual modulations
...
This should work now:
DISABLE_MODULE += netdev_ieee802154_mr_oqpsk
DISABLE_MODULE += netdev_ieee802154_mr_ofdm
DISABLE_MODULE += netdev_ieee802154_mr_fsk
2022-02-16 18:01:07 +01:00
benpicco
22a3fc7e8d
Merge pull request #14430 from benpicco/pkg/fatfs_format
...
pkg/fatfs: fatfs_vfs: wire up format()
2022-02-16 17:22:19 +01:00
Benjamin Valentin
0b4d5d7f91
tests/mtd_raw: enable SD card erase
2022-02-16 16:54:13 +01:00
chrysn
b832bb1224
mtd doc: Add overview defining terms; link modules
...
Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17663
2022-02-16 16:25:01 +01:00
benpicco
130eb427af
Merge pull request #17649 from ML-PA-Consulting-GmbH/fix/20220214__tests_slip
...
tests/slip: homogenize CFLAGS in Makefile with slipdev driver
2022-02-16 16:07:12 +01:00
chrysn
9ef2abbd53
Merge pull request #17278 from kaspar030/add_ubsan_support
...
make: Add ubsan support
2022-02-16 16:06:09 +01:00
PeterKietzmann
6215b7e630
cpu/riscv_common: add puf_sram feature
2022-02-16 15:18:37 +01:00
Benjamin Valentin
70d9856111
examples/filesystem: remove dedicated FatFS section from readme
...
FAT now behaves just like all other FSs and does not need special treatment.
2022-02-16 14:35:17 +01:00
Benjamin Valentin
9f4fa5ac99
tests/pkg_fatfs_vfs: format storage before running the test
2022-02-16 14:30:08 +01:00
Benjamin Valentin
5b246d02c0
pkg/fatfs: fatfs_vfs: wire up format()
2022-02-16 14:30:08 +01:00
chrysn
7c707df561
Merge pull request #17664 from kaspar030/native_getpid_warning
...
cpu/native: improve `getpid()` stub message
2022-02-16 13:34:56 +01:00
aaa2a7939d
doc: introduce debugging-aids.md, start with ubsan
2022-02-16 12:20:45 +01:00
ba0f8a7429
make: add initial ubsan support
2022-02-16 12:20:45 +01:00
c5b3934767
cpu/native: improve getpid()
stub message
2022-02-16 11:38:32 +01:00
PeterKietzmann
992e09b07b
cpu/riscv_common: add bss end to clear memory
2022-02-16 10:52:09 +01:00
PeterKietzmann
dd4fe70a62
cpu/riscv_common: add noinit section to ld script
2022-02-16 10:48:31 +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
1547d2f075
make: add -ffunction-sections -fdata-sections to LINKFLAGS if LTO=1
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
Karl Fessel
ca112c224a
core/assert.h: doxygen brief for __NORETURN
2022-02-15 10:34:54 +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
chrysn
1c3a646936
Merge pull request #17653 from benpicco/cpu/native-fatfs_defaults
...
boards/native: select MTD defaults for FAT
2022-02-15 09:03:21 +01:00
Daniel Lockau
3793bd2a73
tests/slip: remove redundant slipdev_params.h
2022-02-14 20:03:18 +01:00
Benjamin Valentin
cd543f1873
examples/filesystem: adopt README.md after changing MTD defaults
2022-02-14 18:22:17 +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