Skip to content

Commit

Permalink
Merge pull request #9957 from kfnta/nxp_integration_general
Browse files Browse the repository at this point in the history
Fix issues found in LPC55S69 integration
  • Loading branch information
Cruz Monrreal committed Mar 6, 2019
2 parents beb2698 + 730e9b8 commit ec845a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion TESTS/psa/spm_client/COMPONENT_NSPE/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,14 +460,16 @@ Case cases[] = {
Case("Testing client tx_buff_null", tx_buff_null),
Case("Testing client rx_tx_null", rx_tx_null),
Case("Testing client multiple_call from a single thread", multiple_call),
Case("Testing client exceed num of max channels allowed", exceed_num_of_max_channels),
Case("Testing client close on NULL handle", client_close_null_handle),
Case("Testing DROP_CONNECTION State", drop_connection),
Case("Testing client psa_framework_version() API", verify_psa_framework_version),
Case("Testing client psa_version() API on existing SID", psa_version_existing),
Case("Testing client psa_version() API on non-existing SID", psa_version_non_existing),
Case("Testing client psa_version() API to a service that is not NSPE callable", psa_version_secure_access_only),
Case("Testing client multiple calls on different channels to the same SID", multi_thread_diff_handles),
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T244
Case("Testing client exceed num of max channels allowed", exceed_num_of_max_channels),
#endif
};

utest::v1::status_t test_setup(const size_t number_of_cases)
Expand Down
2 changes: 2 additions & 0 deletions TESTS/psa/spm_server/COMPONENT_NSPE/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ Case cases[] = {
SPM_UTEST_CASE("Try to skip more bytes than left while reading", skip_more_than_left),
SPM_UTEST_CASE("Test rhandle implementation by calculating the factorial function", rhandle_factorial),
SPM_UTEST_CASE("Test a call flow between 2 secure partitions", cross_partition_call),
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
SPM_UTEST_CASE("Test a common DOORBELL scenario", doorbell_test),
#endif
};

//Declare your test specification with a custom setup handler
Expand Down
2 changes: 2 additions & 0 deletions TESTS/psa/spm_server/COMPONENT_SPE/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,8 @@ psa_test_server_side_func test_list[] = {
PSA_TEST_SERVER_NAME(skip_more_than_left),
PSA_TEST_SERVER_NAME(rhandle_factorial),
PSA_TEST_SERVER_NAME(cross_partition_call),
#if defined TARGET_MBED_SPM // TF-M issue: https://developer.trustedfirmware.org/T273
PSA_TEST_SERVER_NAME(doorbell_test),
#endif
NULL
};
2 changes: 1 addition & 1 deletion components/TARGET_PSA/TARGET_TFM/mbed_lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"rot_pool_size": {
"help": "maximum number of RoT services allowed",
"macro_name": "TFM_SPM_MAX_ROT_SERV_NUM",
"value": 30
"value": 32
},
"message_pool_size": {
"help": "maximum number of active messages allowed",
Expand Down

0 comments on commit ec845a7

Please sign in to comment.