Skip to content
Commit 90236b06 authored by Achatzi Julian's avatar Achatzi Julian Committed by Carles Cufí
Browse files

fs: fcb: Make FCB work with sectors larger than 16K

Enhance FCB to also work with sectors larger than 16K and
to handle larger flash alignment constraints correctly.

use fcb_len_in_flash when setting the offset of the data
and use buffers sizes of at least the alignment value.

The test in fcb_test_append_to_big has been altered, as it
would otherwise not come to a data length which fits the
fcb on sectors larger than 16K.

Closes: https://github.com/zephyrproject-rtos/zephyr/issues/45345



Signed-off-by: default avatarAchatzi Julian <jachatzi@baumer.com>
parent e2dad8fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment