Skip to content

Commit c4178b4

Browse files
committed
TF-M targets: Clean up RTOS configuration
On Armv8 targets, the PSA interface on the non-secure side only requires mutexes, thus we remove other RTOS overrides to reduce memory usage in general use cases. TF-M and PSA test applications require more RTOS resources, and they have their own configurations defined in mbed-os-tf-m-regression-tests. This commit also adds missing configuration for ARM_MUSCA_B1.
1 parent bd92ca0 commit c4178b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmsis/device/rtos/mbed_lib.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@
8585
"MCU_PSOC6_M4": {
8686
"target.macros_add": ["CY_RTOS_AWARE"]
8787
},
88+
"ARM_MUSCA_B1": {
89+
"mutex-num": 4
90+
},
8891
"ARM_MUSCA_S1": {
89-
"mutex-num": 4,
90-
"semaphore-num": 4,
91-
"thread-num": 9,
92-
"thread-user-stack-size": 8096
92+
"mutex-num": 4
9393
}
9494
}
9595
}

0 commit comments

Comments
 (0)