]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RX700_RX71M_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 / RX700_RX71M_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 RX71M V1.00.02.02 [28 May 2015]\r
23 * Device(s)    : R5F571MLCxFC\r
24 * Tool-Chain   : CCRX\r
25 * Description  : This file initializes the vector table.\r
26 * Creation Date: 20/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 EXCEPTVECT\r
47 \r
48 void (*const Excpt_Vectors[])(void) = {\r
49 /*;0xffffff80  Reserved */\r
50     r_reserved_exception,\r
51 /*;0xffffff84  Reserved */\r
52     r_reserved_exception,\r
53 /*;0xffffff88  Reserved */\r
54     r_reserved_exception,\r
55 /*;0xffffff8c  Reserved */\r
56     r_reserved_exception,\r
57 /*;0xffffff90  Reserved */\r
58     r_reserved_exception,\r
59 /*;0xffffff94  Reserved */\r
60     r_reserved_exception,\r
61 /*;0xffffff98  Reserved */\r
62     r_reserved_exception,\r
63 /*;0xffffff9c  Reserved */\r
64     r_reserved_exception,\r
65 /*;0xffffffa0  Reserved */\r
66     r_reserved_exception,\r
67 /*;0xffffffa4  Reserved */\r
68     r_reserved_exception,\r
69 /*;0xffffffa8  Reserved */\r
70     r_reserved_exception,\r
71 /*;0xffffffac  Reserved */\r
72     r_reserved_exception,\r
73 /*;0xffffffb0  Reserved */\r
74     r_reserved_exception,\r
75 /*;0xffffffb4  Reserved */\r
76     r_reserved_exception,\r
77 /*;0xffffffb8  Reserved */\r
78     r_reserved_exception,\r
79 /*;0xffffffbc  Reserved */\r
80     r_reserved_exception,\r
81 /*;0xffffffc0  Reserved */\r
82     r_reserved_exception,\r
83 /*;0xffffffc4  Reserved */\r
84     r_reserved_exception,\r
85 /*;0xffffffc8  Reserved */\r
86     r_reserved_exception,\r
87 /*;0xffffffcc  Reserved */\r
88     r_reserved_exception,\r
89 /*;0xffffffd0  Exception(Supervisor Instruction) */\r
90     r_undefined_exception,\r
91 /*;0xffffffd4  Reserved */\r
92     r_reserved_exception,\r
93 /*;0xffffffd8  Reserved */\r
94     r_reserved_exception,\r
95 /*;0xffffffdc  Exception(Undefined Instruction) */\r
96     r_undefined_exception,\r
97 /*;0xffffffe0  Reserved */\r
98     r_reserved_exception,\r
99 /*;0xffffffe4  Exception(Floating Point) */\r
100     r_undefined_exception,\r
101 /*;0xffffffe8  Reserved */\r
102     r_reserved_exception,\r
103 /*;0xffffffec  Reserved */\r
104     r_reserved_exception,\r
105 /*;0xfffffff0  Reserved */\r
106     r_reserved_exception,\r
107 /*;0xfffffff4  Reserved */\r
108     r_reserved_exception,\r
109 /*;0xfffffff8  NMI */\r
110     r_nmi_exception,\r
111 };\r
112 \r
113 #pragma section C RESETVECT\r
114 void (*const Reset_Vectors[])(void) = {\r
115 /*;<<VECTOR DATA START (POWER ON RESET)>> */\r
116 /*;Power On Reset PC */\r
117     /*(void*)*/ PowerON_Reset_PC\r
118 /*;<<VECTOR DATA END (POWER ON RESET)>> */\r
119 };\r
120 \r
121 /* MDE register (Single Chip Mode) */\r
122 #pragma address __MDEreg=0x00120064\r
123 #ifdef __BIG\r
124     /* Big endian*/\r
125     const unsigned long __MDEreg = 0xFFFFFFF8;\r
126 #else\r
127     /* Little endian */\r
128     const unsigned long __MDEreg = 0xFFFFFFFF;\r
129 #endif\r
130 \r
131 /* Set option bytes */\r
132 /* OFS0 register */\r
133 #pragma address __OFS0reg = 0x00120068\r
134 const unsigned long __OFS0reg = 0xFFFFFFFF;\r
135 \r
136 /* OFS1 register */\r
137 #pragma address __OFS1reg = 0x0012006C              \r
138 const unsigned long __OFS1reg = 0xFFFFFFFF;\r
139 \r
140 /* Start user code for adding. Do not edit comment generated here */\r
141 /* SPCC register */\r
142 #pragma address __SPCCreg=0x00120040\r
143 const unsigned long __SPCCreg = 0xffffffff;\r
144 \r
145 /* TMEF register */\r
146 #pragma address __TMEFreg=0x00120048\r
147 const unsigned long __TMEFreg = 0xffffffff; \r
148 \r
149 /* OSIC register (ID codes) */\r
150 #pragma address __OSISreg=0x00120050\r
151 const unsigned long __OSISreg[4] = {\r
152     0xFFFFFFFF,\r
153     0xFFFFFFFF,\r
154     0xFFFFFFFF,\r
155     0xFFFFFFFF,\r
156 };\r
157 \r
158 /* TMINF register */\r
159 #pragma address __TMINFreg=0x00120060\r
160 const unsigned long __TMINFreg = 0xffffffff;\r
161 /* End user code. Do not edit comment generated here */\r
162 \r