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

PSTORAGE AND FSTORAGE

I AM USING SDK 12.2 AND IT IS RECOMMENDED TO USE FSTORAGE. But i found no function to read unlike pstorage_load . so can i use pstorage instead of fstorage will it cause any problem.i only want to store pwm count in flash each hour.so which is better? Any suggestions...?

Parents
  • Hello ANKITTY

    pstorage was removed in the transition to SDK12.0.0, so it is not a part of SDK 12.2. pstorage is an old module and was exchanged for fstorage and FDS. You can find the documentation on fstorage here and FDS here. Fstorage does not have a API for load as it is only used for storing and erasing data. See this post for more information and a way to retrieve stored data. If you want to have API for both store and load you will need to use FDS.

    Best regards

    Jørn Frøysa

Reply
  • Hello ANKITTY

    pstorage was removed in the transition to SDK12.0.0, so it is not a part of SDK 12.2. pstorage is an old module and was exchanged for fstorage and FDS. You can find the documentation on fstorage here and FDS here. Fstorage does not have a API for load as it is only used for storing and erasing data. See this post for more information and a way to retrieve stored data. If you want to have API for both store and load you will need to use FDS.

    Best regards

    Jørn Frøysa

Children
Related