From 96d6da4e252b06dcfdc041e7df23e86161c33007 Mon Sep 17 00:00:00 2001 From: rihab kouki Date: Tue, 28 Jul 2020 11:24:49 +0100 Subject: Official ARM version: v5.6.0 --- docs/RTOS2/html/group__CMSIS__RTOS__MemoryMgmt.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/RTOS2/html/group__CMSIS__RTOS__MemoryMgmt.html') diff --git a/docs/RTOS2/html/group__CMSIS__RTOS__MemoryMgmt.html b/docs/RTOS2/html/group__CMSIS__RTOS__MemoryMgmt.html index be44ec0..ca165b2 100644 --- a/docs/RTOS2/html/group__CMSIS__RTOS__MemoryMgmt.html +++ b/docs/RTOS2/html/group__CMSIS__RTOS__MemoryMgmt.html @@ -152,12 +152,12 @@ Manual User-defined Allocation
osMutexId_t mutex_id;
-
static uint32_t mutex_cb[osRtxMutexCbSize/4U]; // implementation specific
+
static osRtxMutex_t mutex_cb __attribute__((section(".bss.os.mutex.cb"))); // Placed on .bss.os.mutex.cb section for RTX5 aware debugging
const osMutexAttr_t Thread_Mutex_attr = {
"myThreadMutex", // human readable mutex name
osMutexRecursive | osMutexPrioInherit, // attr_bits
-
mutex_cb, // memory for control block (user-defined)
+
&mutex_cb, // memory for control block (user-defined)
sizeof(mutex_cb) // size for control block (user-defined)
};
@@ -171,7 +171,7 @@ Manual User-defined Allocation