Skip to content

Reason why non-volatile storage partition sector size has to be < UINT16_T MAX? #60937

Answered by Laczen
vChavezB asked this question in Q&A
Discussion options

You must be logged in to vote

https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/fs/nvs/nvs_priv.h#L14-L22.

All uint32_t *addr used in the routines are formatted according to the above lines. It is known that nvs is unusable on devices with larger sector size (e.g. some stm32 devices).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vChavezB
Comment options

@Laczen
Comment options

Laczen Aug 11, 2023
Collaborator

Answer selected by vChavezB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants