]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/cg_src/r_cg_dbsct.c
Start to create an RX64M demo.
[freertos] / FreeRTOS / Demo / RX600_RX64M_RSK_Renesas_e2studio / Source / Renesas_Code / cg_src / r_cg_dbsct.c
1 /***********************************************************************************************************************\r
2 * DISCLAIMER\r
3 * This software is supplied by Renesas Electronics Corporation and is only \r
4 * intended for use with Renesas products. No other uses are authorized. This \r
5 * software is owned by Renesas Electronics Corporation and is protected under \r
6 * all applicable laws, including copyright laws.\r
7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING \r
8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT \r
9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE \r
10 * AND NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.\r
11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS \r
12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE \r
13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR \r
14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE \r
15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
16 * Renesas reserves the right, without notice, to make changes to this software \r
17 * and to discontinue the availability of this software.  By using this software, \r
18 * you agree to the additional terms and conditions found by accessing the \r
19 * following link:\r
20 * http://www.renesas.com/disclaimer\r
21 *\r
22 * Copyright (C) 2013 Renesas Electronics Corporation. All rights reserved.\r
23 ***********************************************************************************************************************/\r
24 \r
25 /***********************************************************************************************************************\r
26 * File Name    : r_cg_dbsct.c\r
27 * Version      : Applilet4 for RX64M V1.00.00.00 [02 Aug 2013]\r
28 * Device(s)    : R5F564MLHxFC\r
29 * Tool-Chain   : CCRX\r
30 * Description  : Setting of B.\r
31 * Creation Date: 07/02/2014\r
32 ***********************************************************************************************************************/\r
33 \r
34 /***********************************************************************************************************************\r
35 Pragma directive\r
36 ***********************************************************************************************************************/\r
37 /* Start user code for pragma. Do not edit comment generated here */\r
38 /* End user code. Do not edit comment generated here */\r
39 \r
40 /***********************************************************************************************************************\r
41 Includes\r
42 ***********************************************************************************************************************/\r
43 #include "r_cg_macrodriver.h"\r
44 #include "r_cg_userdefine.h"\r
45 \r
46 /***********************************************************************************************************************\r
47 Global variables and functions\r
48 ***********************************************************************************************************************/\r
49 \r
50 #pragma unpack\r
51 \r
52 #pragma section C C$DSEC\r
53 extern const struct {\r
54     uint8_t *rom_s;       /* Start address of the initialized data section in ROM */\r
55     uint8_t *rom_e;       /* End address of the initialized data section in ROM   */\r
56     uint8_t *ram_s;       /* Start address of the initialized data section in RAM */\r
57 }   _DTBL[] = {\r
58     { __sectop("D"), __secend("D"), __sectop("R") },\r
59     { __sectop("D_2"), __secend("D_2"), __sectop("R_2") },\r
60     { __sectop("D_1"), __secend("D_1"), __sectop("R_1") }\r
61 };\r
62 #pragma section C C$BSEC\r
63 extern const struct {\r
64     uint8_t *b_s;         /* Start address of non-initialized data section */\r
65     uint8_t *b_e;         /* End address of non-initialized data section */\r
66 }   _BTBL[] = {\r
67     { __sectop("B"), __secend("B") },\r
68     { __sectop("B_2"), __secend("B_2") },\r
69     { __sectop("B_1"), __secend("B_1") }\r
70 };\r
71 \r
72 #pragma section\r
73 \r
74 /*\r
75 ** CTBL prevents excessive output of L1100 messages when linking.\r
76 ** Even if CTBL is deleted, the operation of the program does not change.\r
77 */\r
78 uint8_t * const _CTBL[] = {\r
79     __sectop("C_1"), __sectop("C_2"), __sectop("C"),\r
80     __sectop("W_1"), __sectop("W_2"), __sectop("W"),\r
81     __sectop("L"), __sectop("SU"),\r
82     __sectop("C$DSEC"), __sectop("C$BSEC"),\r
83     __sectop("C$INIT"), __sectop("C$VTBL"), __sectop("C$VECT")\r
84 };\r
85 \r
86 #pragma packoption\r
87 \r
88 /* Start user code for adding. Do not edit comment generated here */\r
89 /* End user code. Do not edit comment generated here */\r