OpenThread uses CONFIG_OT_PLAT_FLASH_PAGES_COUNT to calculate the # of pages at the end of flash to use for storing OpenThread settings. This calculation has an off-by-one error which sets the offset for the storage area as 1 page of flash too low. For example, on nRF52840: - default setting for CONFIG_OT_PLAT_FLASH_PAGES_COUNT is 4 - flash size is 1MB (0x100000) - flash page size is 4096 (0x1000) - expected offset is 0xfc000 Using the current logic we get an offset of: 0xfb000 Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/16339 Signed-off-by: Michael Scott <mike@foundries.io> |
||
|---|---|---|
| .. | ||
| coap | ||
| config | ||
| dns | ||
| http | ||
| lwm2m | ||
| mqtt | ||
| openthread | ||
| sntp | ||
| sockets | ||
| socks | ||
| tls_credentials | ||
| utils | ||
| CMakeLists.txt | ||
| Kconfig | ||