This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PSTORAGE_MAX_APPLICATIONS and actual flash pages reserved in pstorage_register

I have one doubt after reading the definition of PSTORAGE_MAX_APPLICATIONS and PSTORAGE_DATA_START_ADDR in pstorage_platform.h and the actual computation of used flash memory in pstorage_register() method in pstorage.c

It seems that PSTORAGE_DATA_START_ADDR assumes that an application will use one and only one flash page while the register method allows for more than one flash page per application (dynamically computed based on block size and number of blocks).

Am I missing anything? Can an application use more than one flash page?

Parents Reply Children
No Data
Related