Uses newwer FIXED_PARTITION_ID for fs_mount_t
... This is what new samples use, but there should be no functional difference.
This commit is contained in:
parent
5199ceaa50
commit
171a1eb4a0
2 changed files with 1 additions and 3 deletions
|
|
@ -7,8 +7,6 @@ CONFIG_GPIO=y
|
||||||
CONFIG_CBPRINTF_FP_SUPPORT=y
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|
||||||
|
|
||||||
CONFIG_SERIAL=n
|
CONFIG_SERIAL=n
|
||||||
CONFIG_PM=y
|
|
||||||
CONFIG_PM_DEVICE=y
|
|
||||||
|
|
||||||
CONFIG_USE_SEGGER_RTT=y
|
CONFIG_USE_SEGGER_RTT=y
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ FS_LITTLEFS_DECLARE_DEFAULT_CONFIG(storage);
|
||||||
static struct fs_mount_t lfs_storage_mnt = {
|
static struct fs_mount_t lfs_storage_mnt = {
|
||||||
.type = FS_LITTLEFS,
|
.type = FS_LITTLEFS,
|
||||||
.fs_data = &storage,
|
.fs_data = &storage,
|
||||||
.storage_dev = (void *)FLASH_AREA_ID(storage),
|
.storage_dev = (void *)FIXED_PARTITION_ID(storage_partition),
|
||||||
.mnt_point = "/lfs",
|
.mnt_point = "/lfs",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue