/****************************************************************************** * DISCLAIMER * This software is supplied by Renesas Electronics Corp. and is * only intended for use with Renesas products. * No other uses are authorized. * This software is owned by Renesas Electronics Corp. and is * protected under the 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 CORP. NOR ANY OF ITS AFFILIATED COMPANIES * SHALL BE LIABLE FOR AND DIRECT, INDIRECT, SPECIAL, INCIDENTAL * OR COSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, * EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE * POSSIBILITIES OF SUCH DAMAGES. * Renesas reserves the right, without notice, to make changes to this * software and to discontinue 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) 2010. Renesas Electronics Corp., All Rights Reserved */ /****************************************************************************** * File Name : dbsct.c * Version : 1.1 * Device(s) : R5F562N8 * Tool-Chain : Renesas RX Standard Toolchain 1.0.1 * OS : None * H/W Platform : YRDKRX62N * Description : Defines the strucutre of ROM and RAM areas. ******************************************************************************* * History : DD.MMM.YYYY Version Description * : 08.Oct.2010 1.00 First release * : 02.Dec.2010 1.10 Second YRDK release *******************************************************************************/ /******************************************************************************* * Project Includes *******************************************************************************/ /* Defines type structures used in this file */ #include "typedefine.h" /* Preprocessor directive */ #pragma unpack /* Section start */ #pragma section C C$DSEC /* MCU ROM and RAM structure definition */ extern const struct { _UBYTE *rom_s; /* Start address of the initialized data section in ROM */ _UBYTE *rom_e; /* End address of the initialized data section in ROM */ _UBYTE *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") } }; /* Section start */ #pragma section C C$BSEC /* MCU ROM and RAM structure definition */ extern const struct { _UBYTE *b_s; /* Start address of non-initialized data section */ _UBYTE *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") } }; /* Section start */ #pragma section /* CTBL prevents excessive output of L1100 messages when linking. Even if CTBL is deleted, the operation of the program does not change. */ _UBYTE * const _CTBL[] = { __sectop("C_1"), __sectop("C_2"), __sectop("C"), __sectop("W_1"), __sectop("W_2"), __sectop("W") }; /* Preprocessor directive */ #pragma packoption /* This is to ensure compatibility with new L section in version 1.1 and up of the RXC compiler. Do not remove! */ #pragma section C L const unsigned long deadSpace = 0xDEADDEAD ; #pragma section