Skip to content

Commit dd7793a

Browse files
committed
Updated to CMSIS RTOS2 API 2.1.3
1 parent cbb8f47 commit dd7793a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

ARM.CMSIS-FreeRTOS.pdsc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<license>License/license.txt</license>
99

1010
<releases>
11+
<release version="10.0.2-dev1">
12+
CMSIS:RTOS2:FreeRTOS update:
13+
- Updated to CMSIS API 2.1.3
14+
</release>
1115
<release version="10.0.2-dev0">
1216
CMSIS:RTOS2:FreeRTOS update:
1317
- Corrected osDelayUntil execution duration
@@ -329,7 +333,7 @@
329333
</component>
330334

331335
<!-- CMSIS-RTOS2 FreeRTOS component -->
332-
<component Cclass="CMSIS" Cgroup="RTOS2" Csub="FreeRTOS" Cversion="10.0.2" Capiversion="2.1.2" condition="FreeRTOS RTOS2 CortexM">
336+
<component Cclass="CMSIS" Cgroup="RTOS2" Csub="FreeRTOS" Cversion="10.0.2" Capiversion="2.1.3" condition="FreeRTOS RTOS2 CortexM">
333337
<description>CMSIS-RTOS2 implementation for Cortex-M based on FreeRTOS</description>
334338
<RTE_Components_h>
335339
#define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */
@@ -346,7 +350,7 @@
346350
</files>
347351
</component>
348352

349-
<component Cclass="CMSIS" Cgroup="RTOS2" Csub="FreeRTOS" Cversion="10.0.2" Capiversion="2.1.2" condition="FreeRTOS RTOS2 CortexA">
353+
<component Cclass="CMSIS" Cgroup="RTOS2" Csub="FreeRTOS" Cversion="10.0.2" Capiversion="2.1.3" condition="FreeRTOS RTOS2 CortexA">
350354
<description>CMSIS-RTOS2 implementation for Cortex-A based on FreeRTOS</description>
351355
<RTE_Components_h>
352356
#define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */

CMSIS/RTOS2/FreeRTOS/Source/cmsis_os2.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -434,11 +434,7 @@ const char *osThreadGetName (osThreadId_t thread_id) {
434434
osThreadId_t osThreadGetId (void) {
435435
osThreadId_t id;
436436

437-
if (IS_IRQ()) {
438-
id = NULL;
439-
} else {
440-
id = (osThreadId_t)xTaskGetCurrentTaskHandle();
441-
}
437+
id = (osThreadId_t)xTaskGetCurrentTaskHandle();
442438

443439
return (id);
444440
}

0 commit comments

Comments
 (0)