TF-M config: Add max_ns_thread_count parameter

pull/9973/head
Michael Schwarcz 2019-03-07 11:34:16 +02:00
parent 63242cfbb4
commit 14aa347040
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 {