We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a076f9a commit 5833659Copy full SHA for 5833659
rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h
@@ -122,7 +122,11 @@ uint32_t const os_tickfreq = OS_CLOCK;
122
uint16_t const os_tickus_i = OS_CLOCK/1000000;
123
uint16_t const os_tickus_f = (((uint64_t)(OS_CLOCK-1000000*(OS_CLOCK/1000000)))<<16)/1000000;
124
uint32_t const os_trv = OS_TRV;
125
+#if defined(FEATURE_UVISOR) && defined(TARGET_UVISOR_SUPPORTED)
126
+uint8_t const os_flags = 0;
127
+#else /* defined(FEATURE_UVISOR) && defined(TARGET_UVISOR_SUPPORTED) */
128
uint8_t const os_flags = OS_RUNPRIV;
129
+#endif /* defined(FEATURE_UVISOR) && defined(TARGET_UVISOR_SUPPORTED) */
130
131
/* Export following defines to uVision debugger. */
132
__USED uint32_t const CMSIS_RTOS_API_Version = osCMSIS;
0 commit comments