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