hi : I want storage different size in flash.How can i do it? I can write like this?
param.block_size = 16; //Select block size of 16 bytes
param.block_count = 1; //Select 1 blocks, total of 16 bytes
param.cb = example_cb_handler; //Set the pstorage callback handler
retval = pstorage_register(¶m, &handle);
param.block_size = 256; //Select block size of 256 bytes
param.block_count = 1; //Select 1 blocks, total of 256 bytes
param.cb = example_cb_handler; //Set the pstorage callback handler
retval = pstorage_register(¶m, &handle);