hai
i want to store a struct contains two elements . can i store it in flash using pstorage....? if so how can i do that.........?
or
can i store a two dimensional array instead of a one dimensional array...........?
thank you
hai
i want to store a struct contains two elements . can i store it in flash using pstorage....? if so how can i do that.........?
or
can i store a two dimensional array instead of a one dimensional array...........?
thank you
You could also do something like:
struct Mystruct
{
uint8_t foo;
uint32_t bar;
};
sizeof(struct Mystruct);
@Petter Myhre
i have stored the information correctly. now there is another problem : i am using securitymanager in mbed to implement bonding between central and peripheral now the problem is that when i bond a device with my nrf51822. the bonding information overwrites my stored data in the flash.
Great! This seems unreleated, please add a new question.
i have added a new question