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    package ti.platforms.ts430F5529;
    17    
    18    /*!
    19     *  ======== Platform ========
    20     *  Platform support for the ts430F5529
    21     *
    22     *  This module implements xdc.platform.IPlatform and defines configuration
    23     *  parameters that correspond to this platform's Cpu's, Board's, etc.
    24     *
    25     *  The configuration parameters are initialized in this package's
    26     *  configuration script (package.cfg) and "bound" to the TCOM object
    27     *  model.  Once they are part of the model, these parameters are
    28     *  queried by a program's configuration script.
    29     *
    30     *  This particular platform has a single Cpu, and therefore, only
    31     *  declares a single CPU configuration object.  Multi-CPU platforms
    32     *  would declare multiple Cpu configuration parameters (one per
    33     *  platform CPU).
    34     */
    35    metaonly module Platform inherits xdc.platform.IPlatform
    36    {
    37        /*!
    38         *  ======== BOARD ========
    39         *  This platform's board attributes
    40         */
    41        readonly config xdc.platform.IPlatform.Board BOARD = {
    42            id:             "0",
    43            boardName:      "ts430F5529",
    44            boardFamily:    "ts430F5529",
    45            boardRevision:  null
    46        };
    47    
    48        /*!
    49         *  ======== CPU ========
    50         *  The CPU supported by this platform.
    51         *
    52         */
    53        readonly config xdc.platform.IExeContext.Cpu CPU = {        
    54            id:             "0",
    55            clockRate:      8.0,
    56            catalogName:    "ti.catalog.msp430",
    57            deviceName:     "MSP430F5529",
    58            revision:       "",
    59        };
    60    
    61    instance:
    62    
    63        /*!
    64         *  ======== deviceName ========
    65         *  The CPU supported by this platform.
    66         *
    67         *  This parameter is optional. If it's not set, then the Platform module
    68         *  parameter CPU.deviceName is used.
    69         */
    70        config string deviceName;
    71    
    72        override config string codeMemory = "FLASH";
    73        
    74        override config string dataMemory = "RAM";
    75    
    76        override config string stackMemory = "RAM";
    77    };