/*********************************************************************************************************************** | |
* DISCLAIMER | |
* This software is supplied by Renesas Electronics Corporation and is only | |
* intended for use with Renesas products. No other uses are authorized. This | |
* software is owned by Renesas Electronics Corporation and is protected under | |
* all applicable laws, including copyright laws. | |
* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING | |
* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT | |
* LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE | |
* AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. | |
* TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS | |
* ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE | |
* FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR | |
* ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE | |
* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. | |
* Renesas reserves the right, without notice, to make changes to this software | |
* and to discontinue the availability of this software. By using this software, | |
* you agree to the additional terms and conditions found by accessing the | |
* following link: | |
* http://www.renesas.com/disclaimer | |
* | |
* Copyright (C) 2013 Renesas Electronics Corporation. All rights reserved. | |
***********************************************************************************************************************/ | |
/*********************************************************************************************************************** | |
* File Name : r_cg_dbsct.c | |
* Version : Applilet4 for RX64M V1.00.00.00 [02 Aug 2013] | |
* Device(s) : R5F564MLHxFC | |
* Tool-Chain : CCRX | |
* Description : Setting of B. | |
* Creation Date: 07/02/2014 | |
***********************************************************************************************************************/ | |
/*********************************************************************************************************************** | |
Pragma directive | |
***********************************************************************************************************************/ | |
/* Start user code for pragma. Do not edit comment generated here */ | |
/* End user code. Do not edit comment generated here */ | |
/*********************************************************************************************************************** | |
Includes | |
***********************************************************************************************************************/ | |
#include "r_cg_macrodriver.h" | |
#include "r_cg_userdefine.h" | |
/*********************************************************************************************************************** | |
Global variables and functions | |
***********************************************************************************************************************/ | |
#pragma unpack | |
#pragma section C C$DSEC | |
extern const struct { | |
uint8_t *rom_s; /* Start address of the initialized data section in ROM */ | |
uint8_t *rom_e; /* End address of the initialized data section in ROM */ | |
uint8_t *ram_s; /* Start address of the initialized data section in RAM */ | |
} _DTBL[] = { | |
{ __sectop("D"), __secend("D"), __sectop("R") }, | |
{ __sectop("D_2"), __secend("D_2"), __sectop("R_2") }, | |
{ __sectop("D_1"), __secend("D_1"), __sectop("R_1") } | |
}; | |
#pragma section C C$BSEC | |
extern const struct { | |
uint8_t *b_s; /* Start address of non-initialized data section */ | |
uint8_t *b_e; /* End address of non-initialized data section */ | |
} _BTBL[] = { | |
{ __sectop("B"), __secend("B") }, | |
{ __sectop("B_2"), __secend("B_2") }, | |
{ __sectop("B_1"), __secend("B_1") } | |
}; | |
#pragma section | |
/* | |
** CTBL prevents excessive output of L1100 messages when linking. | |
** Even if CTBL is deleted, the operation of the program does not change. | |
*/ | |
uint8_t * const _CTBL[] = { | |
__sectop("C_1"), __sectop("C_2"), __sectop("C"), | |
__sectop("W_1"), __sectop("W_2"), __sectop("W"), | |
__sectop("L"), __sectop("SU"), | |
__sectop("C$DSEC"), __sectop("C$BSEC"), | |
__sectop("C$INIT"), __sectop("C$VTBL"), __sectop("C$VECT") | |
}; | |
#pragma packoption | |
/* Start user code for adding. Do not edit comment generated here */ | |
/* End user code. Do not edit comment generated here */ |