diff --git a/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h b/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h index 8492698f8..0224421c2 100644 --- a/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h @@ -92,11 +92,14 @@ asm file. It is valid in a C file, but not valid in an asm file. */ #ifdef __IAR_SYSTEMS_ICC__ #pragma system_include - #include #endif /* __IAR_SYSTEMS_ICC__ */ +/* Include hardware dependent header files to allow this demo to run on +multiple evaluation boards. */ +#include "demo_specific_io.h" + #define configUSE_PREEMPTION 1 #define configTICK_RATE_HZ ( ( unsigned short ) 1000 ) #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 4 ) @@ -136,6 +139,10 @@ to exclude the API function. */ #define INCLUDE_xTaskGetIdleTaskHandle 0 #define INCLUDE_xTimerGetTimerDaemonTaskHandle 0 +/* Tick interrupt vector - this must match the INTIT_vect definition contained +in the ior5fnnnn.h header file included at the top of this file (the value is +dependent on the hardware being used. */ +#define configTICK_VECTOR INTIT_vect #define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); } diff --git a/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewd b/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewd index 726983066..d0d8eedf7 100644 --- a/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewd +++ b/FreeRTOS/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewd @@ -57,7 +57,7 @@