Hello,
nRF Connect SDK 2.6.0 release notes tells about PSA protected storage feature without enabling TF-M.
I'm using nrf5340dk_nrf5340_cpuapp as target.
psa_ps_set(1, sizeof("HELLO"), "HELLO", PSA_STORAGE_FLAG_NONE) returns -140
I see this in the logging:
[00:00:00.076,324] <dbg> internal_trusted_storage_settings: storage_set_object: Set object with filename ps/0000000000000001. Size: 80
[00:00:00.076,354] <dbg> internal_trusted_aead: trusted_set: trusted_set cleanup. status -140
[00:00:00.076,416] <dbg> internal_trusted_storage_settings: storage_remove_object: Remove object with filename: ps/0000000000000001, status -140
Failed to store data! (-140)
What might I be doing wrong? Thank you!