]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RX113-RSK_Renesas_e2studio/src/cg_src/r_cg_vecttbl.c
Baseline new GCC and Renesas compiler projects for RX71M and RX113 before adding...
[freertos] / FreeRTOS / Demo / RX113-RSK_Renesas_e2studio / src / cg_src / r_cg_vecttbl.c
1 /***********************************************************************************************************************\r
2 * DISCLAIMER\r
3 * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products.\r
4 * No other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all\r
5 * applicable laws, including copyright laws. \r
6 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIESREGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED\r
7 * OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
8 * NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY\r
9 * LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE FOR ANY DIRECT,\r
10 * INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR\r
11 * ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
12 * Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability \r
13 * of this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
14 * following link:\r
15 * http://www.renesas.com/disclaimer\r
16 *\r
17 * Copyright (C) 2015 Renesas Electronics Corporation. All rights reserved.\r
18 ***********************************************************************************************************************/\r
19 \r
20 /***********************************************************************************************************************\r
21 * File Name    : r_cg_vecttbl.c\r
22 * Version      : Code Generator for RX113 V1.02.01.02 [28 May 2015]\r
23 * Device(s)    : R5F51138AxFP\r
24 * Tool-Chain   : CCRX\r
25 * Description  : This file initializes the vector table.\r
26 * Creation Date: 21/09/2015\r
27 ***********************************************************************************************************************/\r
28 \r
29 /***********************************************************************************************************************\r
30 Pragma directive\r
31 ***********************************************************************************************************************/\r
32 /* Start user code for pragma. Do not edit comment generated here */\r
33 /* End user code. Do not edit comment generated here */\r
34 \r
35 /***********************************************************************************************************************\r
36 Includes\r
37 ***********************************************************************************************************************/\r
38 #include "r_cg_macrodriver.h"\r
39 #include "r_cg_vect.h"\r
40 #include "r_cg_userdefine.h"\r
41 \r
42 /***********************************************************************************************************************\r
43 Global variables and functions\r
44 ***********************************************************************************************************************/\r
45 \r
46 #pragma section C FIXEDVECT\r
47 \r
48 void (*const Fixed_Vectors[])(void) = {\r
49 /*;0xffffffd0  Exception(Supervisor Instruction) */\r
50     r_undefined_exception,\r
51 /*;0xffffffd4  Reserved */\r
52     r_undefined_exception,\r
53 /*;0xffffffd8  Reserved */\r
54     r_reserved_exception,\r
55 /*;0xffffffdc  Exception(Undefined Instruction) */\r
56     r_undefined_exception,\r
57 /*;0xffffffe0  Reserved */\r
58     r_reserved_exception,\r
59 /*;0xffffffe4  Reserved */\r
60     r_reserved_exception,\r
61 /*;0xffffffe8  Reserved */\r
62     r_reserved_exception,\r
63 /*;0xffffffec  Reserved */\r
64     r_reserved_exception,\r
65 /*;0xfffffff0  Reserved */\r
66     r_reserved_exception,\r
67 /*;0xfffffff4  Reserved */\r
68     r_reserved_exception,\r
69 /*;0xfffffff8  NMI */\r
70     r_nmi_exception,\r
71 /*;0xfffffffc  RESET */\r
72 /*;<<VECTOR DATA START (POWER ON RESET)>> */\r
73 /*;Power On Reset PC */\r
74     /*(void*)*/ PowerON_Reset\r
75 /*;<<VECTOR DATA END (POWER ON RESET)>> */\r
76 };\r
77 \r
78 /* MDE register (Single Chip Mode) */\r
79 #pragma address _MDEreg=0xffffff80\r
80 #ifdef __BIG\r
81     /* Big endian*/\r
82     const unsigned long _MDEreg = 0xfffffff8;\r
83 #else\r
84     /* Little endian */\r
85     const unsigned long _MDEreg = 0xffffffff;\r
86 #endif\r
87 \r
88 /* Set option bytes */\r
89 #pragma address OFS0_location = 0xFFFFFF8CUL\r
90 #pragma address OFS1_location = 0xFFFFFF88UL\r
91 volatile const uint32_t OFS0_location = 0xFFFFFFFFUL;\r
92 volatile const uint32_t OFS1_location = 0xFFFFFFFFUL;\r
93 \r
94 /* Start user code for adding. Do not edit comment generated here */\r
95 /* ID codes (Default) */\r
96 #pragma address id_code=0xffffffa0\r
97 const unsigned long id_code[4] = {\r
98     0xffffffff,\r
99     0xffffffff,\r
100     0xffffffff,\r
101     0xffffffff,\r
102 };\r
103 /* End user code. Do not edit comment generated here */\r
104 \r