]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RX200_RX231-RSK_GCC_e2studio_IAR/src/cg_src/r_cg_main.c
Changes in common files:
[freertos] / FreeRTOS / Demo / RX200_RX231-RSK_GCC_e2studio_IAR / src / cg_src / r_cg_main.c
diff --git a/FreeRTOS/Demo/RX200_RX231-RSK_GCC_e2studio_IAR/src/cg_src/r_cg_main.c b/FreeRTOS/Demo/RX200_RX231-RSK_GCC_e2studio_IAR/src/cg_src/r_cg_main.c
deleted file mode 100644 (file)
index 4807a41..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/***********************************************************************************************************************\r
-* 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
-* 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
-* following link:\r
-* http://www.renesas.com/disclaimer\r
-*\r
-* Copyright (C) 2015 Renesas Electronics Corporation. All rights reserved.\r
-***********************************************************************************************************************/\r
-\r
-/***********************************************************************************************************************\r
-* File Name    : r_cg_main.c\r
-* Version      : Code Generator for RX231 V1.00.00.03 [10 Jul 2015]\r
-* Device(s)    : R5F52318AxFP\r
-* Tool-Chain   : GCCRX\r
-* Description  : This file implements main function.\r
-* Creation Date: 23/09/2015\r
-***********************************************************************************************************************/\r
-\r
-/***********************************************************************************************************************\r
-Pragma directive\r
-***********************************************************************************************************************/\r
-/* Start user code for pragma. Do not edit comment generated here */\r
-/* End user code. Do not edit comment generated here */\r
-\r
-/***********************************************************************************************************************\r
-Includes\r
-***********************************************************************************************************************/\r
-#include "r_cg_macrodriver.h"\r
-#include "r_cg_cgc.h"\r
-/* Start user code for include. Do not edit comment generated here */\r
-/* End user code. Do not edit comment generated here */\r
-#include "r_cg_userdefine.h"\r
-\r
-/***********************************************************************************************************************\r
-Global variables and functions\r
-***********************************************************************************************************************/\r
-/* Start user code for global. Do not edit comment generated here */\r
-/* End user code. Do not edit comment generated here */\r
-\r
-\r
-void R_MAIN_UserInit(void);\r
-/***********************************************************************************************************************\r
-* Function Name: main\r
-* Description  : This function implements main function.\r
-* Arguments    : None\r
-* Return Value : None\r
-***********************************************************************************************************************/\r
-void main(void)\r
-{\r
-    R_MAIN_UserInit();\r
-    /* Start user code. Do not edit comment generated here */\r
-    while (1U)\r
-    {\r
-        ;\r
-    }\r
-    /* End user code. Do not edit comment generated here */\r
-}\r
-/***********************************************************************************************************************\r
-* Function Name: R_MAIN_UserInit\r
-* Description  : This function adds user code before implementing main function.\r
-* Arguments    : None\r
-* Return Value : None\r
-***********************************************************************************************************************/\r
-void R_MAIN_UserInit(void)\r
-{\r
-    /* Start user code. Do not edit comment generated here */\r
-    uint16_t protect_dummy = (uint16_t)(SYSTEM.PRCR.WORD & 0x000FU);\r
-\r
-    /* Disable protect bit */\r
-    SYSTEM.PRCR.WORD = 0xA50FU;\r
-\r
-    SYSTEM.VBATTCR.BYTE = 0x81U;\r
-\r
-    /* Restore the previous state of the protect register */\r
-    SYSTEM.PRCR.WORD = (uint16_t)(0xA500U | protect_dummy);\r
-    /* End user code. Do not edit comment generated here */\r
-}\r
-\r
-/* Start user code for adding. Do not edit comment generated here */\r
-/* End user code. Do not edit comment generated here */\r