]> git.sur5r.net Git - freertos/blobdiff - Source/portable/GCC/ARM_CM4F/port.c
Add the macro xSemaphoreTakeFromISR().
[freertos] / Source / portable / GCC / ARM_CM4F / port.c
index d91fde9e3cede82979f74741ab9ba375cafcf8a6..b9fd31c308530e33e95463f91e6125542768e047 100644 (file)
        #error This port can only be used when the project options are configured to enable hardware floating point support.\r
 #endif\r
 \r
+#if configMAX_SYSCALL_INTERRUPT_PRIORITY == 0\r
+       #error configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to 0.  See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html\r
+#endif\r
+\r
 /* Constants required to manipulate the NVIC. */\r
 #define portNVIC_SYSTICK_CTRL          ( ( volatile unsigned long * ) 0xe000e010 )\r
 #define portNVIC_SYSTICK_LOAD          ( ( volatile unsigned long * ) 0xe000e014 )\r