]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RX113-RSK_Renesas_e2studio/src/cg_src/r_cg_dbsct.c
FreeRTOS source:
[freertos] / FreeRTOS / Demo / RX113-RSK_Renesas_e2studio / src / cg_src / r_cg_dbsct.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_dbsct.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  : Setting of B.\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_userdefine.h"\r
40 \r
41 /***********************************************************************************************************************\r
42 Global variables and functions\r
43 ***********************************************************************************************************************/\r
44 \r
45 #pragma unpack\r
46 \r
47 #pragma section C C$DSEC\r
48 extern const struct {\r
49     uint8_t *rom_s;       /* Start address of the initialized data section in ROM */\r
50     uint8_t *rom_e;       /* End address of the initialized data section in ROM   */\r
51     uint8_t *ram_s;       /* Start address of the initialized data section in RAM */\r
52 }   _DTBL[] = {\r
53     { __sectop("D"), __secend("D"), __sectop("R") },\r
54     { __sectop("D_2"), __secend("D_2"), __sectop("R_2") },\r
55     { __sectop("D_1"), __secend("D_1"), __sectop("R_1") }\r
56 };\r
57 #pragma section C C$BSEC\r
58 extern const struct {\r
59     uint8_t *b_s;         /* Start address of non-initialized data section */\r
60     uint8_t *b_e;         /* End address of non-initialized data section */\r
61 }   _BTBL[] = {\r
62     { __sectop("B"), __secend("B") },\r
63     { __sectop("B_2"), __secend("B_2") },\r
64     { __sectop("B_1"), __secend("B_1") }\r
65 };\r
66 \r
67 #pragma section\r
68 \r
69 /*\r
70 ** CTBL prevents excessive output of L1100 messages when linking.\r
71 ** Even if CTBL is deleted, the operation of the program does not change.\r
72 */\r
73 uint8_t * const _CTBL[] = {\r
74     __sectop("C_1"), __sectop("C_2"), __sectop("C"),\r
75     __sectop("W_1"), __sectop("W_2"), __sectop("W"),\r
76     __sectop("L"), __sectop("SU"),\r
77     __sectop("C$DSEC"), __sectop("C$BSEC"),\r
78     __sectop("C$INIT"), __sectop("C$VTBL"), __sectop("C$VECT")\r
79 };\r
80 \r
81 #pragma packoption\r
82 \r
83 /* Start user code for adding. Do not edit comment generated here */\r
84 /* End user code. Do not edit comment generated here */\r