1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

1931 Commits

Author SHA1 Message Date
chrysn
25882133f8
Merge pull request #17634 from benpicco/pkg/fatfs-statvfs
pkg/fatfs: implement statvfs()
2022-02-12 15:25:04 +01:00
chrysn
aae6c18cb1
Merge pull request #17645 from chrysn-pull-requests/all-stat-buffers
vfs: Initialize stat buffers so FSs don't have to
2022-02-12 15:12:47 +01:00
chrysn
2cb4b70458 vfs / treewide: Remove manual zeroing of vfs stat buffers 2022-02-12 12:31:38 +01:00
Benjamin Valentin
9982cf5c3e pkg/fatfs: implement statvfs()
This hooks up the statvfs() function to query file system properties.
2022-02-11 14:05:27 +01:00
Jens Wetterich
4dfeafcabd cpu/native/netdev_tap: Add to netdev_register 2022-02-11 07:54:11 +01:00
benpicco
be45400631
Merge pull request #17341 from benpicco/vfs-mtd_cleanup
sys/vfs: add file-system auto-mount
2022-02-09 21:50:34 +01:00
Benjamin Valentin
8f47684343 pkg/fatfs: ensure max sector size is not exceeded 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
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
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
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
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
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
Benjamin Valentin
6ef79ea9cd pkg/tinycbor: bump version 2022-02-02 14:44:50 +01:00
NikLeberg
ad8fad64ba buildsystem: document EXTERNAL_PKG_DIRS feature 2022-02-01 19:37:24 +00:00
Leandro Lanzieri
1e300a4959
Merge pull request #17435 from Ollrogge/fido2_kconfig
sys/fido2: model Kconfig
2022-02-01 12:03:11 +01:00
Ollrogge
1dde2cd3bc sys/fido2: remove unnecessary module import from Makefile.dep 2022-01-31 16:49:38 +01:00
NikLeberg
e5365adb93 pkg/esp32_sdk_libs: add requirements to PKG_PREPARE
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.

Packages are downloaded, patched, prepared before any module
is compiled. By adding the directory creation as a dependency
of `PKG_PREPARE` we make sure the rule is run before compilation
starts.
2022-01-30 20:00:09 +01:00
NikLeberg
18dca48510 pkg/esp32_sdk: add requirements to PKG_PREPARE
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.

This also includes header files such as `esp32_idf_version.h`.

Packages are downloaded, patched, prepared before any module
is compiled. By adding the directory creation and header as
a dependency of `PKG_PREPARE` we make sure the rules are ran
before compilation starts.
2022-01-30 19:59:35 +01:00
NikLeberg
044701d3cc pkg/esp8266_sdk: add requirements to PKG_PREPARE
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.

Packages are downloaded, patched and prepared before any
module is compiled. By adding the directory creation and
header as a dependency of `PKG_PREPARE` we make sure the
rule is run before compilation starts.
2022-01-30 19:59:05 +01:00
Hendrik van Essen
e840b61091 pkg/nimble: configure nimble values for stdio_nimble 2022-01-28 19:26:38 +01:00
Hendrik van Essen
72a6ca6366 sys/stdio_nimble: add new stdio module using nimble
Implement a new module stdio_nimble, which uses nimble
for stdio. The characteristic for stdin is writable and
the characteristic for stdout uses the indicate mechanism
to publish the system's output to a connected device.
Data will be sent out asynchronously via callout functions.

The module can be enabled with "USEMODULE += stdio_nimble"

Co-authored-by: Francisco Molina <femolina@uc.cl>
2022-01-28 19:26:38 +01:00
Hauke Petersen
c7b3d8416d nimble/autoconn: allow to select PHY mode 2022-01-27 10:30:30 +01:00
Hauke Petersen
0a4585d4c8 nimble/rpble: allow to select PHY mode 2022-01-27 10:30:30 +01:00
Hauke Petersen
2634063f5f nimble/statconn: allow to define PHY mode 2022-01-27 10:30:29 +01:00
Hauke Petersen
0ea7bf33d0 nimble/netif: support ext adv and BLE 5 PHY modes 2022-01-27 10:30:29 +01:00
Hauke Petersen
56c4460785 nimble/scanner: include CODED PHY only if featured 2022-01-27 10:10:09 +01:00
Hauke Petersen
1b15b203cc pkt/nimble/contrib: add enum for PHY modes 2022-01-27 10:10:09 +01:00
Hauke Petersen
f5aba5301d pkg/nimble: cleanup dep resolution for PHY modes 2022-01-27 10:10:09 +01:00
benpicco
c18f1c2a9b
Merge pull request #17455 from gschorcht/cpu/esp32/sdk-as-package
cpu/esp32: download Espressif SDK ESP-IDF as package
2022-01-24 16:13:04 +01:00
c21730a765
Merge pull request #17406 from fjmolinas/pr_twr_aloha_rework
examples/twr_aloha: refactor
2022-01-21 10:08:46 +01:00
f511a64302
Merge pull request #17538 from leandrolanzieri/pr/doc/pkg_includes
pkg: fix documentation on includes
2022-01-19 16:50:14 +01:00
Benjamin Valentin
023ef291c6 pkg/mbedtls: bump version to v2.28.0
https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0
2022-01-19 11:24:20 +01:00
Francisco Molina
849c800e28 pkg/uwb-core: fix dependencies add uwb-core_uwb_rng_trx_info 2022-01-19 10:32:33 +01:00
Leandro Lanzieri
e470a9ab57
pkg/doc: Fix documentation on package header files 2022-01-19 10:15:52 +01:00
benpicco
2542195cdf
Merge pull request #15671 from PeterKietzmann/pr_add_pkg_mbedtls
pkg/mbedtls: initial pkg import to use entropy module
2022-01-18 08:22:50 +01:00
PeterKietzmann
b05f93405e pkg/mbedtls:initial port of the entropy module 2022-01-17 23:22:14 +01:00
75f5048b68
Merge pull request #17497 from jia200x/pr/lora/fix_rssi_val
[treewide] lora: use int16_t for RSSI value
2022-01-17 18:57:37 +01:00
Jose Alamos
9955a35c63
[treewide] lora: use int16_t for RSSI value
The RSSI values reported by LoRa transceiver can be less than -127.
Therefore, `int8_t` is not enough. This commit defines the RSSI of
`netdev_lora_rx_info` as `int16_t` and adapt the drivers accordingly
(sx126x, sx127x).
2022-01-17 17:54:18 +01:00
Marian Buschsieweke
8549ff2f7d
Merge pull request #17479 from gschorcht/cxxexflags_cpp+14
makefiles: use C++14 standard by default for C++ compilations
2022-01-17 13:42:41 +01:00
4f9c28eee8
pkg/semtech-loramac: use CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK 2022-01-14 10:21:20 +01:00
Gunar Schorcht
aa44c8ab78 pkg: remove -std=c++11 2022-01-13 17:50:59 +01:00
Marian Buschsieweke
6a138cc5c4
pkg/paho-mqtt: fix memory corruption
This fixes instances where a pointer to an enum (possibly sized one
byte) is casted to a pointer to int (which is at least two and in most
cases four bytes in size). As result, out-of-bounds memory accesses
are bound to happen.

This was detected by GCC 11.2.0 with -Wstringop-overflow.
2022-01-11 18:23:06 +01:00