Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix enum type to align with psa-arch-tests #11620
This is related to #11256
This is related to #11256 When TARGET_PSA is enabled on Cortex-A boards, the SECURE is redeclared. So to minimize the impact we can redeclare this in val.h which is used only by Mbed. And `security_t` itself is used in mbed-os\components\TARGET_PSA\TESTS, but the SECURE string is not used. Renamed to `caller_security_t` which aligns with https://github.com/ARM-software/psa-arch-tests
jamesbeyond left a comment
In terms of greentea part this PR is OK for me. the changed files actually not part of the GreenTea framework, It is part of PSA Greentea test initialisation code. So the changes will not have impact to other greentea tests.