]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h
Add two additional targets to the RL78 IAR project.
[freertos] / FreeRTOS / Demo / RL78_RL78G13_Promo_Board_IAR / FreeRTOSConfig.h
index 8492698f824f977f054855a9b356372366c909ba..0224421c2f1fdf4e0fd89dd8b3d092e4d421a5aa 100644 (file)
@@ -92,11 +92,14 @@ asm file.  It is valid in a C file, but not valid in an asm file. */
 #ifdef __IAR_SYSTEMS_ICC__\r
 \r
        #pragma system_include\r
-\r
        #include <intrinsics.h>\r
 \r
 #endif /* __IAR_SYSTEMS_ICC__ */\r
 \r
+/* Include hardware dependent header files to allow this demo to run on\r
+multiple evaluation boards. */\r
+#include "demo_specific_io.h"\r
+\r
 #define configUSE_PREEMPTION                   1\r
 #define configTICK_RATE_HZ                             ( ( unsigned short ) 1000 )\r
 #define configMAX_PRIORITIES                   ( ( unsigned portBASE_TYPE ) 4 )\r
@@ -136,6 +139,10 @@ to exclude the API function. */
 #define INCLUDE_xTaskGetIdleTaskHandle                 0\r
 #define INCLUDE_xTimerGetTimerDaemonTaskHandle         0\r
 \r
+/* Tick interrupt vector - this must match the INTIT_vect definition contained\r
+in the ior5fnnnn.h header file included at the top of this file (the value is\r
+dependent on the hardware being used. */\r
+#define configTICK_VECTOR      INTIT_vect\r
 \r
 #define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }\r
 \r