1    /* --COPYRIGHT--,EPL
     2     *  Copyright (c) 2008 Texas Instruments and others.
     3     *  All rights reserved. This program and the accompanying materials
     4     *  are made available under the terms of the Eclipse Public License v1.0
     5     *  which accompanies this distribution, and is available at
     6     *  http://www.eclipse.org/legal/epl-v10.html
     7     * 
     8     *  Contributors:
     9     *      Texas Instruments - initial implementation
    10     * 
    11     * --/COPYRIGHT--*/
    12    /*
    13     *  ======== Platform.xdc ========
    14     */
    15    
    16    /*!
    17     *  ======== Platform ========
    18     *  Platform support for the eZ430-RF2500 target board
    19     *
    20     *  This particular platform has a single Cpu, and therefore, only
    21     *  declares a single CPU configuration object.  Multi-CPU platforms
    22     *  would declare multiple Cpu configuration parameters (one per
    23     *  platform CPU).
    24     */
    25    metaonly module Platform inherits xdc.platform.IPlatform
    26    {
    27        /*!
    28         *  ======== BOARD ========
    29         *  This platform's board attributes
    30         */
    31        readonly config xdc.platform.IPlatform.Board BOARD = {
    32            id:             "0",
    33            boardName:      "ez430_rf2500",
    34            boardFamily:    "ez430",
    35            boardRevision:  null
    36        };
    37    
    38        /*!
    39         *  ======== CPU ========
    40         *  The CPU simulated by this platform.
    41         */
    42        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    43            id:             "0",
    44            clockRate:      16.0,
    45            catalogName:    "ti.catalog.msp430",
    46            deviceName:     "MSP430F2274",
    47            revision:       "",
    48        };
    49    
    50    instance:
    51        /*!
    52         *  ======== dssPath ========
    53         *  Path to the Debug Script Server (DSS) product
    54         *
    55         *  This platform uses the DSS support delivered as part of Code
    56         *  Composer Studio or as a standalone product.  `dssPath` must be set
    57         *  to an absolute path to the installation directory of DSS.
    58         *
    59         *  For example, if you've installed Code Composer Essentials 3.1 in
    60         *  the default installation directory, `dssPath` should be set to
    61         *  `"C:/Program Files/Texas Instruments/CC Essentials v3.1/DebugServer"`.
    62         */
    63        config String dssPath;
    64        
    65        override config String codeMemory = "FLASH";
    66        
    67        override config String dataMemory = "RAM";
    68    
    69        override config String stackMemory = "RAM";
    70    };