Skip to content

Commit ff78bc4

Browse files
author
Cruz Monrreal
authored
Merge pull request #9973 from kfnta/tfm_num_threads
TF-M config: Add max_ns_thread_count parameter
2 parents 5c0d226 + 14aa347 commit ff78bc4

File tree

2 files changed

+9
-2
lines changed
  • components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE
  • features/storage/TESTS/blockdevice/general_block_device

2 files changed

+9
-2
lines changed
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
22
"name": "tfm-s",
3-
"macros": ["MBED_FAULT_HANDLER_DISABLED", "BYPASS_NVSTORE_CHECK=1"]
3+
"macros": ["MBED_FAULT_HANDLER_DISABLED", "BYPASS_NVSTORE_CHECK=1"],
4+
"config": {
5+
"max_ns_thread_count": {
6+
"help": "maximum allowed number of non-secure threads",
7+
"macro_name": "TFM_MAX_NS_THREAD_COUNT",
8+
"value": 10
9+
}
10+
}
411
}

features/storage/TESTS/blockdevice/general_block_device/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ using namespace utest::v1;
5151

5252
#define TEST_BLOCK_COUNT 10
5353
#define TEST_ERROR_MASK 16
54-
#define TEST_NUM_OF_THREADS 4
54+
#define TEST_NUM_OF_THREADS 5
5555
#define TEST_THREAD_STACK_SIZE 1024
5656

5757
const struct {

0 commit comments

Comments
 (0)