]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RX200_RX231-RSK_GCC_e2studio_IAR/src/cg_src/r_cg_macrodriver.h
Baseline new RX projects before refining and tidying them up.
[freertos] / FreeRTOS / Demo / RX200_RX231-RSK_GCC_e2studio_IAR / src / cg_src / r_cg_macrodriver.h
index e8e55270d0128683d7bae8355c26cce3aa99f213..f38136cec986fbf9504861e79dfb7c7145995350 100644 (file)
@@ -2,15 +2,15 @@
 * DISCLAIMER\r
 * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products.\r
 * No other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all\r
-* applicable laws, including copyright laws. \r
+* applicable laws, including copyright laws.\r
 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIESREGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED\r
 * OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
 * NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY\r
 * LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE FOR ANY DIRECT,\r
 * INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR\r
 * ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
-* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability \r
-* of this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability\r
+* of this software. By using this software, you agree to the additional terms and conditions found by accessing the\r
 * following link:\r
 * http://www.renesas.com/disclaimer\r
 *\r
 /***********************************************************************************************************************\r
 Includes\r
 ***********************************************************************************************************************/\r
-#include "../iodefine.h"\r
-#include "r_cg_interrupt_handlers.h"\r
+#ifdef __ICCRX__\r
+       #include <iorx231.h>\r
+#endif\r
+\r
+#ifdef __GNUC__\r
+       #include "../iodefine.h"\r
+#endif\r
+\r
+//_RB_#include "r_cg_interrupt_handlers.h"\r
 \r
 /***********************************************************************************************************************\r
 Macro definitions (Register bit)\r
@@ -78,14 +85,14 @@ Typedef definitions
         typedef unsigned short      uint16_t;\r
         typedef signed long         int32_t;\r
         typedef unsigned long       uint32_t;\r
-        \r
+\r
         typedef signed char         int_least8_t;\r
         typedef signed short        int_least16_t;\r
         typedef signed long         int_least32_t;\r
         typedef unsigned char       uint_least8_t;\r
         typedef unsigned short      uint_least16_t;\r
         typedef unsigned long       uint_least32_t;\r
-    #endif \r
+    #endif\r
 \r
     typedef unsigned short      MD_STATUS;\r
     #define __TYPEDEF__\r