]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RX200_RX231-RSK_GCC_e2studio_IAR/src/FreeRTOSConfig.h
Baseline new RX projects before refining and tidying them up.
[freertos] / FreeRTOS / Demo / RX200_RX231-RSK_GCC_e2studio_IAR / src / FreeRTOSConfig.h
index f0c3446bff094c3c18882b9256fa530535e288e2..82f660ee12f6fe103bc2627adc1bee1f743b781e 100644 (file)
 #ifndef FREERTOS_CONFIG_H\r
 #define FREERTOS_CONFIG_H\r
 \r
-/* Renesas hardware definition header. */\r
-#include "iodefine.h"\r
+#ifdef __ICCRX__\r
+       #include <iorx231.h>\r
+       #include <machine.h>\r
+#endif\r
+\r
+#ifdef __GNUC__\r
+       #include "iodefine.h"\r
+#endif\r
 \r
 /*-----------------------------------------------------------\r
  * Application specific definitions.\r
@@ -128,7 +134,7 @@ kernel is doing. */
 /* 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
 peripheral chosen.  As supplied this is CMT0. */\r
-#define configTICK_VECTOR                                              _CMT0_CMI0\r
+#define configTICK_VECTOR                                              VECT_CMT0_CMI0\r
 \r
 /* Set the following definitions to 1 to include the API function, or zero\r
 to exclude the API function. */\r