Some checks failed
Basic Checks / license-check (push) Has been cancelled
Basic Checks / include-check (push) Has been cancelled
Basic Checks / style-check (push) Has been cancelled
Basic Checks / docs-check (push) Has been cancelled
Basic Checks / python-tests (push) Has been cancelled
Basic Checks / pin-validation (push) Has been cancelled
Basic Checks / cmake-checks (push) Has been cancelled
Basic Checks / frozen-tools-check (push) Has been cancelled
Publish or Update docker image for head of branch / prepare-tags (push) Has been cancelled
Release or update docker image for a released mbed-os version / prepare-tags (push) Has been cancelled
Publish or Update docker image for head of branch / build-container (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/amd64) (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/arm64) (push) Has been cancelled
Publish or Update docker image for head of branch / deploy-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / build-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/amd64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/arm64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / deploy-container (push) Has been cancelled
Prune temporary docker images / prune-images (push) Has been cancelled
56 lines
2.5 KiB
JSON
56 lines
2.5 KiB
JSON
{
|
|
"name": "littlefs2",
|
|
"config": {
|
|
"block_size": {
|
|
"macro_name": "MBED_LFS2_BLOCK_SIZE",
|
|
"value": 512,
|
|
"help": "Size of a logical block. This does not impact ram consumption and may be larger than the physical erase block. If the physical erase block is larger, littlefs will use that instead. Larger values will be faster but waste more storage when files are not aligned to a block size."
|
|
},
|
|
"block_cycles": {
|
|
"macro_name": "MBED_LFS2_BLOCK_CYCLES",
|
|
"value": 1024,
|
|
"help": "Number of erase cycles before a block is forcefully evicted. Larger values are more efficient but cause less even wear distribution. 0 disables dynamic wear-leveling."
|
|
},
|
|
"cache_size": {
|
|
"macro_name": "MBED_LFS2_CACHE_SIZE",
|
|
"value": "64",
|
|
"help": "Size of read/program caches. Each file uses 1 cache, and littlefs allocates 2 caches for internal operations. Larger values should be faster but uses more RAM."
|
|
},
|
|
"lookahead_size": {
|
|
"macro_name": "MBED_LFS2_LOOKAHEAD_SIZE",
|
|
"value": 64,
|
|
"help": "Size of the lookahead buffer. A larger lookahead reduces the allocation scans and results in a faster filesystem but uses more RAM."
|
|
},
|
|
"intrinsics": {
|
|
"macro_name": "MBED_LFS2_INTRINSICS",
|
|
"value": true,
|
|
"help": "Enable intrinsics for bit operations such as ctz, popc, and le32 conversion. Can be disabled to help debug toolchain issues"
|
|
},
|
|
"enable_info": {
|
|
"macro_name": "MBED_LFS2_ENABLE_INFO",
|
|
"value": false,
|
|
"help": "Enables info logging, true = enabled, false = disabled, null = disabled only in release builds"
|
|
},
|
|
"enable_debug": {
|
|
"macro_name": "MBED_LFS2_ENABLE_DEBUG",
|
|
"value": null,
|
|
"help": "Enables debug logging, true = enabled, false = disabled, null = disabled only in release builds"
|
|
},
|
|
"enable_warn": {
|
|
"macro_name": "MBED_LFS2_ENABLE_WARN",
|
|
"value": null,
|
|
"help": "Enables warn logging, true = enabled, false = disabled, null = disabled only in release builds"
|
|
},
|
|
"enable_error": {
|
|
"macro_name": "MBED_LFS2_ENABLE_ERROR",
|
|
"value": null,
|
|
"help": "Enables error logging, true = enabled, false = disabled, null = disabled only in release builds"
|
|
},
|
|
"enable_assert": {
|
|
"macro_name": "MBED_LFS2_ENABLE_ASSERT",
|
|
"value": null,
|
|
"help": "Enables asserts, true = enabled, false = disabled, null = disabled only in release builds"
|
|
}
|
|
}
|
|
}
|