Macros | |
#define | NRF_FSTORAGE_ENABLED |
Enable the fstorage module. More... | |
#define | NRF_FSTORAGE_SD_QUEUE_SIZE |
Size of the internal queue of operations. More... | |
#define | NRF_FSTORAGE_SD_MAX_RETRIES |
Maximum number of attempts at executing an operation when the SoftDevice is busy. More... | |
#define | NRF_FSTORAGE_SD_MAX_WRITE_SIZE |
Maximum number of bytes to be written to flash in a single operation. More... | |
#define NRF_FSTORAGE_ENABLED |
Enable the fstorage module.
Set to 1 to activate.
#define NRF_FSTORAGE_SD_MAX_RETRIES |
Maximum number of attempts at executing an operation when the SoftDevice is busy.
Increase this value if events frequently return the NRF_ERROR_TIMEOUT error. The SoftDevice might fail to schedule flash access due to high BLE activity.
#define NRF_FSTORAGE_SD_MAX_WRITE_SIZE |
Maximum number of bytes to be written to flash in a single operation.
This value must be a multiple of four. Lowering this value can increase the chances of the SoftDevice being able to execute flash operations in between radio activity. This value is bound by the maximum number of bytes that can be written to flash in a single call to sd_flash_write. That is 1024 bytes for nRF51 ICs and 4096 bytes for nRF52 ICs.
#define NRF_FSTORAGE_SD_QUEUE_SIZE |
Size of the internal queue of operations.
Increase this value if API calls frequently return the error NRF_ERROR_NO_MEM.