#define xQueueGenericReceive MPU_xQueueGenericReceive\r
#define uxQueueMessagesWaiting MPU_uxQueueMessagesWaiting\r
#define vQueueDelete MPU_vQueueDelete\r
- #define vQueueAddToRegistry MPU_vQueueAddToRegistry\r
- #define vQueueUnregisterQueue MPU_vQueueUnregisterQueue\r
\r
#define pvPortMalloc MPU_pvPortMalloc\r
#define vPortFree MPU_vPortFree\r
#define xPortGetFreeHeapSize MPU_xPortGetFreeHeapSize\r
#define vPortInitialiseBlocks MPU_vPortInitialiseBlocks\r
\r
+ #if configQUEUE_REGISTRY_SIZE > 0\r
+ #define vQueueAddToRegistry MPU_vQueueAddToRegistry\r
+ #define vQueueUnregisterQueue MPU_vQueueUnregisterQueue\r
+ #endif\r
+\r
/* Remove the privileged function macro. */\r
#define PRIVILEGED_FUNCTION\r
\r
#define portNVIC_PENDSV_PRI ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )\r
#define portNVIC_SYSTICK_PRI ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )\r
#define portNVIC_SVC_PRI ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )\r
-#define portNVIC_TEMP_SVC_PRI ( 0x01UL << 24UL )\r
\r
/* Constants required to set up the initial stack. */\r
#define portINITIAL_XPSR ( 0x01000000 )\r
*/\r
portBASE_TYPE xPortStartScheduler( void )\r
{\r
- /* Make PendSV, CallSV and SysTick the same priroity as the kernel. */\r
+ /* Make PendSV and SysTick the same priroity as the kernel. */\r
*(portNVIC_SYSPRI2) |= portNVIC_PENDSV_PRI;\r
*(portNVIC_SYSPRI2) |= portNVIC_SYSTICK_PRI;\r
- *(portNVIC_SYSPRI1) |= portNVIC_TEMP_SVC_PRI;\r
\r
/* Configure the regions in the MPU that are common to all tasks. */\r
prvSetupMPU();\r