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

40 Commits

Author SHA1 Message Date
1b0098cd95
pkg/littlefs2: bump to v2.8.1 2023-11-02 10:17:17 +01:00
Benjamin Valentin
f93072dc65 pkg/littlefs2: bump to v2.8
https://github.com/littlefs-project/littlefs/releases/tag/v2.8.0
2023-09-22 22:11:28 +02:00
Benjamin Valentin
7b4f22ff8f pkg/littlefs2: bump version to 2.7 2023-07-07 16:07:20 +02:00
Benjamin Valentin
d475c97692 pkg/littlefs2: bump version to 2.6
This release bumps the on-disk minor version of littlefs from lfs2.0 -> lfs2.1.

This change is backwards-compatible, but after the first write with the new version,
the image on disk will no longer be mountable by older versions of littlefs.
2023-05-23 22:38:56 +02:00
eea079f1e1
pkg/littlefs2: bump version to 2.5.1 2022-11-10 16:17:24 -05:00
benpicco
1935b626d5
Merge pull request #18672 from benpicco/vfs-abs_path
vfs: drop unused abs_path parameter
2022-09-30 16:42:57 +02:00
Benjamin Valentin
85dd564f87 vfs: drop unused abs_path parameter 2022-09-29 22:01:37 +02:00
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
Fabian Hüßler
4dd5cb3e08 pkg/littlefs2: add warning if block size is not reasonable 2022-07-31 10:57:13 +02:00
Fabian Hüßler
a29d5c24cd pkg/littlefs2: make block size configurable 2022-07-31 10:57:13 +02:00
Benjamin Valentin
f3c364ca90 pkg/littlefs2: bump version to 2.5.0
see https://github.com/littlefs-project/littlefs/releases/tag/v2.5.0
2022-05-03 14:00:44 +02:00
Jue
6dff3cbbaa pkg/littlefs2: allow VFS/MTD driver opt-out
This aligns Makefile-based and Kconfig-based dependency resolution.
2022-03-30 12:03:30 +02:00
Jue
9cc54f7d2f pkg/littlefs2: model Kconfig 2022-03-30 12:03:30 +02:00
Benjamin Valentin
3bc4d7af64 pkg/littlefs2: bump version to 2.4.2 2022-03-22 09:50:52 +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
Benjamin Valentin
c55b264428 pkg/littlefs2: hook up vfs_fsync() 2022-02-07 16:07:37 +01:00
Marian Buschsieweke
906d73107a
pkg/littlefs2: use static_assert() instead of BUILD_BUG_ON() 2022-01-05 15:09:09 +01:00
Gunar Schorcht
11d999b014 pkg/littlefs2: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Marian Buschsieweke
78810d736c
pkg/littlefs2/fs: fix compilation with -Wcast-align 2021-11-08 14:24:32 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
Benjamin Valentin
60eb75da3c mtd: rename mtd_write_page() -> mtd_write_page_raw()
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
fd4f3f829d
littlefs2: Bump to v2.4 2021-01-20 15:03:15 +01:00
0a96c71053
littlefs2: Bump to v2.3 2020-12-08 16:32:08 +01:00
Bas Stottelaar
38a5ff7d4b pkg/*: realign ENABLE_DEBUG 2020-10-23 02:43:10 +02:00
Benjamin Valentin
c2492209d8 pkg/littlefs2: use page-addressed MTD operations 2020-08-18 17:25:40 +02:00
Benjamin Valentin
a028102149 pkg/littlefs2: rename littlefs_desc_t -> littlefs2_desc_t
Allow to have both versions of the FS present at the same time.
2020-07-17 16:43:00 +02:00
799ee40ea7
Merge pull request #13866 from benpicco/pkg/fs_params
pkg/fs: set VFS params by fs, not by the application
2020-07-01 14:19:00 +02:00
385ad95701
pkg: adapt 'simple' packages to the new organization 2020-06-26 09:25:43 +02:00
Benjamin Valentin
adbf9ef3ac vfs: select VFS params to accommodate all enabled file systems 2020-06-17 16:00:24 +02:00
Benjamin Valentin
67d68b2bd3 pkg/littlefs2: set VFS params 2020-06-17 16:00:24 +02:00
a009684336
pkg: use Makefile.base to build pkg modules when possible 2020-06-12 18:44:49 +02:00
3209f7ce0c
pkg/littlefs2: always build littlefs2 fs (hard deps) 2020-06-12 18:44:48 +02:00
75b2de0ad3
pkg/littlefs2: remove redundant use of .PHONY: all
'all' is already set as .PHONY in pkg.mk
2020-06-12 18:44:48 +02:00
adb46b9ee7
Merge pull request #14006 from benpicco/sdcard_fixes
pkg/fs: initialize MTD device before accessing it's properties
2020-05-12 11:31:39 +02:00
fabian18
a3a1c160ee mtd: Change API to return 0 on success
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Benjamin Valentin
891a05dca6 pkg/littlefs2: init MTD device before accessing it's parameters
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.

Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
3625fa9b95
littlefs2: bump to version 2.2.1 2020-04-09 15:39:14 +02:00
Benjamin Valentin
f74bdb6bca pkg/littlefs2: bump version to 2.2.0
Update to the new minor release.
2020-04-03 13:01:11 +02:00
9b02c7b4ee
pkg/littlefs2: Add package for LittleFS v2.x.y 2020-02-20 14:51:45 +01:00