blob: 0241405143100c1876c7dc106166158487672148 [file] [log] [blame]
/* --COPYRIGHT--,EPL
* Copyright (c) 2008 Texas Instruments and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Texas Instruments - initial implementation
*
* --/COPYRIGHT--*/
/*!
* ======== MSP430.xdc ========
* Default MSP430 device (based on MSP430F2274)
*/
metaonly module MSP430 inherits xdc.platform.ICpuDataSheet
{
instance:
override config string cpuCore = "MSP430";
override config string cpuCoreRevision = "1.0";
override config int minProgUnitSize = 1;
override config int minDataUnitSize = 1;
override config int dataWordSize = 2;
/*!
* ======== memMap ========
* The memory map returned be getMemoryMap().
*/
config xdc.platform.IPlatform.Memory memMap[string] = [
["RAM", {
comment: "Data RAM",
name: "RAM",
base: 0x200,
len: 0x7D00,
space: "code/data",
access: "RWX"
}],
["FLASH", {
comment: "Program FLASH",
name: "FLASH",
base: 0x8000,
len: 0x7FFE,
space: "code",
access: "RWX"
}],
["RESET", {
comment: "Reset Vector",
name: "RESET",
base: 0xFFFE,
len: 0x0002,
space: "data"
}],
];
}