]> git.sur5r.net Git - freertos/blobdiff - Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/vectors.c
Continue to tidy up Fujitsu ports.
[freertos] / Demo / MB96340_Softune / FreeRTOS_96348hs_SK16FX100PMC / Src / vectors.c
index f838cbc22f755012651896625ab6931af65b15f9..93d9644f4c01b039be85fb2111f4f3f281a03ace 100644 (file)
@@ -9,7 +9,7 @@
   - Interrupt vector definition\r
 -----------------------------------------------------------------------------*/\r
 #include "mb96348hs.h"\r
-#include "config.h"\r
+#include "FreeRTOSConfig.h"\r
 \r
 /*---------------------------------------------------------------------------\r
    InitIrqLevels()\r
@@ -33,16 +33,14 @@ volatile int irq;
                ICR = ( irq << 8 ) | DEFAULT_ILM_MASK;\r
        }\r
 \r
-       ICR = ( (51 & 0xFF) << 8 ) | ( DEFAULT_ILM_MASK - 1 );                  /* Reload Timer 0 of MB9634x Series */\r
-       ICR = ( (12 & 0xFF) << 8 ) | ( DEFAULT_ILM_MASK - 1 );                  /* Delayed interrupt of 16FX Family */\r
+       ICR = ( (51 & 0xFF) << 8 ) | configKERNEL_INTERRUPT_PRIORITY;                   /* Reload Timer 0 of MB9634x Series */\r
+       ICR = ( (12 & 0xFF) << 8 ) | configKERNEL_INTERRUPT_PRIORITY;                   /* Delayed interrupt of 16FX Family */\r
 \r
-       #if ( INCLUDE_AltStartComTestTasks == 1 )\r
-               ICR = ( 79 << 8 ) | ( DEFAULT_ILM_MASK - 1 );                           /* UART 0 Rx of MB9634x Series */\r
-               ICR = ( 80 << 8 ) | ( DEFAULT_ILM_MASK - 1 );                           /* UART 0 Tx of MB9634x Series */\r
-       #endif\r
+       ICR = ( 79 << 8 ) | configKERNEL_INTERRUPT_PRIORITY;                            /* UART 0 Rx of MB9634x Series */\r
+       ICR = ( 80 << 8 ) | configKERNEL_INTERRUPT_PRIORITY;                            /* UART 0 Tx of MB9634x Series */\r
 \r
        #if ( INCLUDE_TraceListTasks == 1 )\r
-               ICR = ( 81 << 8 ) | ( DEFAULT_ILM_MASK - 1 );                           /* UART 1 Rx of MB9634x Series */\r
+               ICR = ( 81 << 8 ) | configKERNEL_INTERRUPT_PRIORITY;                            /* UART 1 Rx of MB9634x Series */\r
        #endif\r
 }\r
 \r