--- /dev/null
+/*******************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only\r
+* intended for use with Renesas products. No other uses are authorized. This\r
+* software is owned by Renesas Electronics Corporation and is protected under\r
+* all applicable laws, including copyright laws.\r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT\r
+* LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE\r
+* AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.\r
+* TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS\r
+* ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE\r
+* FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR\r
+* ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE\r
+* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software\r
+* and to discontinue the availability of this software. By using this software,\r
+* you agree to the additional terms and conditions found by accessing the\r
+* following link:\r
+* http://www.renesas.com/disclaimer\r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.\r
+*******************************************************************************/\r
+/*******************************************************************************\r
+* File Name : retarget.c\r
+* $Rev: $\r
+* $Date:: $\r
+* Device(s) : Aragon\r
+* Tool-Chain : DS-5 Ver 5.13\r
+* : ARM Complier\r
+* OS : \r
+* H/W Platform : Aragon CPU Board\r
+* Description : Aragon Sample Program - Retarget standard I/O\r
+* Operation : \r
+* Limitations : \r
+*******************************************************************************/\r
+\r
+ #ifdef __STANDALONE__\r
+\r
+/******************************************************************************\r
+Includes <System Includes> , "Project Includes"\r
+******************************************************************************/\r
+#include <stdio.h>\r
+#include "r_typedefs.h"\r
+#include "sio_char.h"\r
+\r
+#pragma import(__use_no_semihosting)\r
+\r
+/******************************************************************************\r
+Typedef definitions\r
+******************************************************************************/\r
+struct __FILE\r
+{\r
+ int_t handle;\r
+\r
+ /* Whatever you require here. If the only file you are using is */\r
+ /* standard output using printf() for debugging, no file handling */\r
+ /* is required. */\r
+};\r
+\r
+/******************************************************************************\r
+Macro definitions\r
+******************************************************************************/\r
+/* File descriptor */\r
+#define STDIN (0)\r
+#define STDOUT (1)\r
+#define STDERR (2)\r
+\r
+#define IOSTREAM (1)\r
+#define BUFF_SIZE (256)\r
+\r
+#if 0\r
+#define DEFAULT_HANDLE (0x100)\r
+#endif\r
+\r
+/******************************************************************************\r
+Imported global variables and functions (from other files)\r
+******************************************************************************/\r
+\r
+/******************************************************************************\r
+Exported global variables and functions (to be accessed by other files)\r
+******************************************************************************/\r
+FILE __stdout;\r
+FILE __stdin;\r
+#if 0\r
+FILE __stderr;\r
+#endif\r
+\r
+/******************************************************************************\r
+Private global variables and functions\r
+******************************************************************************/\r
+\r
+/******************************************************************************\r
+* Function Name: fgetc\r
+* Description :\r
+* Arguments :\r
+* Return Value :\r
+******************************************************************************/\r
+int_t fgetc(FILE * file_p)\r
+{\r
+ /* no character to read */\r
+ return EOF;\r
+}\r
+\r
+/******************************************************************************\r
+* Function Name: fputc\r
+* Description :\r
+* Arguments :\r
+* Return Value :\r
+******************************************************************************/\r
+int_t fputc(int_t channel, FILE * file_p)\r
+{\r
+ return channel;\r
+}\r
+\r
+/******************************************************************************\r
+* Function Name: ferror\r
+* Description : \r
+* Arguments : \r
+* Return Value : \r
+******************************************************************************/\r
+int_t ferror(FILE * file_p)\r
+{\r
+ return 0;\r
+}\r
+\r
+int_t __backspace(FILE * file_p)\r
+{\r
+ return 0;\r
+}\r
+\r
+\r
+void _sys_exit(int_t returncode)\r
+{\r
+ while (1)\r
+ {\r
+ /* Do Nothing */\r
+ }\r
+}\r
+\r
+char_t * _sys_command_string(char_t * cmd, int_t len)\r
+{\r
+ return cmd;\r
+}\r
+\r
+ #endif /* __STANDALONE__ \83Z\83~\83z\83X\83e\83B\83\93\83O\96³\8cø */\r
+\r
+/* End of File */\r
+\r