1    /* --COPYRIGHT--,EPL
     2     *  Copyright (c) 2009 by 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    /*
    14     *  ======== MSP430F2274.xdc ========
    15     *
    16     */
    17    
    18    /*!
    19     *  ======== MSP430F2274 ========
    20     *  MSP430F2274 Cpu definition
    21     *
    22     *  This device has 32KB + 256B of Flash Memory and 1KB RAM.  The
    23     *  MSP430F2274 has two op-amps (OA).
    24     */
    25    metaonly module MSP430F2274 inherits IMSP430x22xx
    26    {
    27    instance:
    28        override config string   cpuCoreRevision = "1.0";
    29    
    30        /*!
    31         *  ======== memMap ========
    32         *  The default memory map for this device
    33         */
    34        config xdc.platform.IPlatform.Memory memMap[string]  = [
    35            ["RAM", {
    36                comment:    "Data RAM",
    37                name:       "RAM",
    38                base:       0x200,
    39                len:        0x400,
    40                space:      "code/data",
    41                access:     "RWX"
    42            }],
    43    
    44            ["FLASH", {
    45                comment:    "Program FLASH",
    46                name:       "FLASH",
    47                base:       0x8000,
    48                len:        0x7FDE,
    49                space:      "code",
    50                access:     "RWX"
    51            }],
    52        ];
    53    };