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

38739 Commits

Author SHA1 Message Date
131c2d9f1e
Merge pull request #17630 from kaspar030/xtimer_is_set
sys/xtimer: introduce `xtimer_is_set()`
2022-02-09 18:30:08 +01:00
Francisco Molina
a19fc10bc8 .murdock: add esp virtual boards 2022-02-09 16:50:04 +01:00
Francisco Molina
c1238ad4e4 cpu/esp: model missing modules 2022-02-09 16:50:04 +01:00
Francisco Molina
a5aa9486dd tests/periph_i2c: include esp ci compile test boards 2022-02-09 16:50:04 +01:00
Francisco Molina
4e72d1733a tests/external_board_dirs: add esp ci boards
This adds esp board clones for compile testing
2022-02-09 16:50:04 +01:00
Francisco Molina
797f19d4cd sys/event/callback: in init set list_node.next to NULL
When using static initializers uninitialized fields are set to 0, or
NULL for pointers. But when using event_callback_init() on non
static variables event_callback_t structure may hold non 0 values.
This will lead to the event never being called since if super.list_node.next
is not NULL as it is considered already in the event queue and therefore
not touched.
2022-02-09 13:08:21 +01:00
67bec026bb tests/xtimer_remove: springle some xtimer_is_set() calls 2022-02-09 12:54:47 +01:00
b15d1c127b sys/xtimer: introduce xtimer_is_set() 2022-02-09 12:54:16 +01:00
Benjamin Valentin
8f47684343 pkg/fatfs: ensure max sector size is not exceeded 2022-02-09 12:21:53 +01:00
Benjamin Valentin
1eebbabe83 examples/filesystem: disable auto-mount 2022-02-09 12:21:53 +01:00
Benjamin Valentin
fc4cd0484b cpu/native: change mtd_native_dev_t parent name to base
This brings it in line with the other MTD implementations.
2022-02-09 12:21:53 +01:00
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
Benjamin Valentin
91ca757b9a drivers/mtd_sdcard: implement erase_sector() 2022-02-07 11:40:27 +01:00
Benjamin Valentin
ac9de922c5 drivers/mtd_sdcard: support unaligned reads & writes 2022-02-07 11:36:07 +01:00