#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 7 )\r
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )\r
\r
-/* The interrupt priority used by the kernel itself for the tick interrupt and\r
-the pended interrupt. This would normally be the lowest priority. */\r
-#define configKERNEL_INTERRUPT_PRIORITY 1\r
-\r
-/* The maximum interrupt priority from which FreeRTOS API calls can be made.\r
-Interrupts that use a priority above this will not be effected by anything the\r
-kernel is doing. */\r
-#define configMAX_SYSCALL_INTERRUPT_PRIORITY 4\r
+\r
+/* \r
+The interrupt priority used by the kernel itself for the tick interrupt and\r
+the pended interrupt is set by configKERNEL_INTERRUPT_PRIORITY. This would \r
+normally be the lowest priority (1 in this case). The maximum interrupt \r
+priority from which FreeRTOS API calls can be made is set by\r
+configMAX_SYSCALL_INTERRUPT_PRIORITY. Interrupts that use a priority above this \r
+will not be effected by anything the kernel is doing. Interrupts at or below\r
+this priority can use FreeRTOS API functions - but *only* those that end in\r
+"FromISR". Both these constants are defined in 'PriorityDefinitions.h' so they\r
+can also be included in assembly source files.\r
+*/\r
+#include "PriorityDefinitions.h"\r
+\r
\r
/* The peripheral used to generate the tick interrupt is configured as part of\r
the application code. This constant should be set to the vector number of the\r