Hi,
I believe there is a small typo in the return value of function ps_read_object (ps_object_system.c). This results in build failure of Non-encrypted Protected Storage.
The define used should be “PSA_ERROR_DATA_CORRUPT” and not “PSA_PS_ERROR_DATA_CORRUPT”.
Best regards,
Robert