Merge pull request #9973 from kfnta/tfm_num_threads

TF-M config: Add max_ns_thread_count parameter
pull/9994/head
Cruz Monrreal 2019-03-07 10:28:11 -06:00 committed by GitHub
commit ff78bc4b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,11 @@
{
"name": "tfm-s",
"macros": ["MBED_FAULT_HANDLER_DISABLED", "BYPASS_NVSTORE_CHECK=1"]
"macros": ["MBED_FAULT_HANDLER_DISABLED", "BYPASS_NVSTORE_CHECK=1"],
"config": {
"max_ns_thread_count": {
"help": "maximum allowed number of non-secure threads",
"macro_name": "TFM_MAX_NS_THREAD_COUNT",
"value": 10
}
}
}

View File

@ -51,7 +51,7 @@ using namespace utest::v1;
#define TEST_BLOCK_COUNT 10
#define TEST_ERROR_MASK 16
#define TEST_NUM_OF_THREADS 4
#define TEST_NUM_OF_THREADS 5
#define TEST_THREAD_STACK_SIZE 1024
const struct {