1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

38565 Commits

Author SHA1 Message Date
Benjamin Valentin
7cc67610ce boards/native: auto-init file system 2022-02-09 12:21:53 +01:00
Benjamin Valentin
ae06265de0 pkg/fatfs: VFS: internally handle fatfs_mtd_devs
This makes FAT behave more like the other file systems supported by VFS.
The `fatfs_mtd_devs` array is populated internally so the application does
not have to handle this.
2022-02-09 12:21:53 +01:00
Benjamin Valentin
2f6aa71946 sys/vfs: add file-system auto-mount 2022-02-09 12:21:53 +01:00
Francisco
74741fb905
Merge pull request #17564 from fjmolinas/pr_tinydyls_migrate_to_ztimer
pkg/tinydtls: migrate to ztimer64_msec
2022-02-09 11:46:32 +01:00
chrysn
09bbdedd98
Merge pull request #17626 from benpicco/fs/constfs-readdir
fs/constfs: omit leading '/' in readdir()
2022-02-09 11:40:45 +01:00
MrKevinWeiss
39a56442a6
.murdock: Add stm32mp1 board variant to kconfig test list 2022-02-09 10:32:20 +01:00
MrKevinWeiss
6efe8e01c3
boards/stm32mp157c-dk2: Overwrite mpu_stack_guard in kconfig 2022-02-09 10:32:20 +01:00
3a4b5fb537
Merge pull request #17628 from bergzand/pr/nimble/docs/no_sudo_pipe
nimble: Use sysctl in docs
2022-02-09 09:49:27 +01:00
Francisco Molina
e6822e01ca pkg/tinydtls: migrate to ztimer64_msec 2022-02-09 08:19:16 +01:00
ca6b273400
nimble: Use sysctl in docs 2022-02-08 19:50:05 +01:00
Benjamin Valentin
8c2314647e fs/constfs: omit leading '/' in readdir()
This aligns ConstFS readdir() implementation more with POSIX.
2022-02-08 16:28:51 +01:00
Benjamin Valentin
0cd3cf4506 sc_vfs: print files with unknown type 2022-02-08 16:28:33 +01:00
benpicco
28fa5c72a8
Merge pull request #17622 from benpicco/sys/shell-ls_size
sc_vfs: print file size
2022-02-08 16:11:05 +01:00
Francisco Molina
ae1fd5260c tests/events: use event_callback_init() once 2022-02-08 16:07:15 +01:00
benpicco
ce5ab6d7a0
Merge pull request #17624 from benpicco/sys/benchmark-fix
sys/benchmark: fix divide by zero if runs < 1000
2022-02-08 14:17:39 +01:00
benpicco
7dca69c182
Merge pull request #17617 from fjmolinas/pr_spi_gpio_mode_nrf
cpu/nrf52-9160: add periph_spi_init_gpio
2022-02-08 13:24:57 +01:00
Benjamin Valentin
a486bae55a sc_vfs: print file size
This prints the size of the displayed files in `ls`.
It also makes it easier to distinguis files from directories.
2022-02-08 13:23:42 +01:00
Benjamin Valentin
5833bcb7ba sys/benchmark: fix divide by zero if runs < 1000
If runs < 1000, `runs / 1000` will result in 0 - which causes a division by 0.
2022-02-08 12:52:48 +01:00
benpicco
7dca88b038
Merge pull request #17623 from benpicco/pkg/littlefs-readdir
pkg/littlefs*: align readdir() with documentation
2022-02-08 12:34:26 +01:00
Benjamin Valentin
79d342a576 tests/pkg_littlefs*: align test with documentation 2022-02-08 10:10:17 +01:00
Francisco Molina
067fa7502d cpu/sam0_common: add periph_spi_init_gpio 2022-02-08 09:21:44 +01:00
Francisco Molina
4906353cfe cpu/nrf52-9160: add periph_spi_init_gpio 2022-02-08 09:17:48 +01:00
Francisco
bd5ab86834
Merge pull request #17606 from PeterKietzmann/pr_test_mbedtls_opt
tests/pkg_mbedtls: improve entropy test case and doc
2022-02-08 08:48:38 +01:00
Kevin "Tristate Tom" Weiss
648c6bcb88
Merge pull request #17595 from MrKevinWeiss/pr/explorekconfig
kconfig explore all allowed boards on all apps
2022-02-08 08:46:55 +01:00
Benjamin Valentin
6a361795ee pkg/littlefs*: align readdir() with documentation
`readdir()` should only output the name of the file, but littleFS
adds a leading `/`.

Neither FAT nor Linux will exhibit this behavior.

        struct dirent *entry;
        DIR *dir = opendir(".");
        while ((entry = readdir(dir))) {
                printf("%s\n", entry->d_name);
        }

This results in surprising failures of code that expects filenames
to match that was tested on a different FS, when suddenly there is
a `/` in front of the filename.
2022-02-07 23:25:14 +01:00
benpicco
865df2056b
Merge pull request #17621 from benpicco/vfs_fsync
sys/vfs: provide vfs_fsync()
2022-02-07 18:11:28 +01:00
Benjamin Valentin
360e1a82d6 pkg/spiffs: hook up vfs_fsync() 2022-02-07 16:16:43 +01:00
Benjamin Valentin
d1cfec4a65 pkg/fatfs: hook up vfs_fsync() 2022-02-07 16:13:04 +01:00
Benjamin Valentin
0cd86e728d pkg/littlefs: hook up vfs_fsync() 2022-02-07 16:10:05 +01:00
Benjamin Valentin
c55b264428 pkg/littlefs2: hook up vfs_fsync() 2022-02-07 16:07:37 +01:00
Benjamin Valentin
aac538ba7f sys/vfs: provide vfs_fsync() 2022-02-07 16:07:20 +01:00
Francisco
8fd40d59dc
Merge pull request #17496 from MrKevinWeiss/pr/kconfig/stm32wlclocks
cpu/stm32/wl: Model kconfig clocks
2022-02-07 15:10:38 +01:00
Francisco
0d14b086d3
Merge pull request #17211 from NikLeberg/feature/external_pkg_dirs
buildsystem: add EXTERNAL_PKG_DIRS functionality
2022-02-07 14:46:08 +01:00
MrKevinWeiss
514ea77b07
boards/ublox-c030-u201: Remove vfs make dep
This modelling doesn't seem correct and probably shouldn't be in here.
Normally vfs modelling shouldn't be handled in the boards.
Even if it was the mtd modelling is also not correct.
2022-02-07 14:02:52 +01:00
MrKevinWeiss
63d0e699c2
.murdock: Remove boards from kconfig blocklist 2022-02-07 13:59:38 +01:00
MrKevinWeiss
656be63fc0
cpu/stm32/wl: Model clock tree in kconfig 2022-02-07 13:58:43 +01:00
MrKevinWeiss
92fff8976b
boards/lora-e5-dev: HSE/LSE available in kconfig 2022-02-07 13:05:55 +01:00
4e007d3f3e
Merge pull request #17521 from MrKevinWeiss/pr/kconfig/stm32mp1clock
cpu/stm32: Add clock config for mp1 to kconfig
2022-02-07 11:02:20 +01:00
MrKevinWeiss
686d93759f
kconfig explore all allowed boards on all apps 2022-02-07 10:08:24 +01:00
benpicco
effad2e571
Merge pull request #17613 from benpicco/drivers/mtd_spi_nor-microchip
boards/same54-xpro: support for board variation with SST26VF064B flash
2022-02-06 18:39:31 +01:00
Benjamin Valentin
f70ff62485 tests/driver_ethos: add ethos compile test 2022-02-06 18:23:22 +01:00
Benjamin Valentin
67417ce5a9 drivers/mtd_spi_nor: drop addr_width from mtd_spi_nor_params_t
This is now always determined at run-time.
2022-02-04 12:17:17 +01:00
Benjamin Valentin
4c282a3a41 drivers/mtd_spi_nor: set address width at run-time 2022-02-04 12:17:17 +01:00
Benjamin Valentin
407851095d boards/same54-xpro: support for board variation with SST26VF064B flash 2022-02-04 12:17:17 +01:00
Benjamin Valentin
1795785a92 drivers/mtd_spi_nor: add support for Microchip (SST) flash 2022-02-04 12:17:17 +01:00
Benjamin Valentin
748e85ed39 drivers/ethos: set defaults for !ethos_stdio 2022-02-04 12:09:19 +01:00
benpicco
4aa90d3dc6
Merge pull request #16919 from maribu/core/rmutex
core/rmutex: use atomic utils
2022-02-04 11:56:05 +01:00
Francisco
dbae3ed706
Merge pull request #16860 from haukepetersen/add_nimble_netifextadv
nimble/netif: add support for BT5 PHY modes
2022-02-04 11:16:11 +01:00
Francisco
14f22c17aa
Merge pull request #12012 from HendrikVE/nimble_shell_module
sys/stdio_nimble: add new stdio module using nimble
2022-02-04 11:10:17 +01:00
Francisco Molina
8d12479935 boards/esp*: revert optional modules used only in CI 2022-02-04 08:24:20 +01:00