I added a registration to the pstorage module of the multilink peripheral example. However, upon calling dm_init() I get error code 7, invalid param. I checked the documentation and as specified, the pstorage module is initialized, but after calling pstorage_register it crashes.
I tried changing the call order (first dm_init, then pstorage_register), but without luck. In that case, it crashed on pstorage_register.
How can I solve this?
I'm using SDK 7.1 in Keil.