1 2 3 4 5 6 7 8 9 10 11
12 13 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 * The eZ430-RF2500 incorporates the MSP430F2274, but the
43 * more generic MSP430F227x specification is sufficient
44 * for now.
45 */
46 readonly config xdc.platform.IExeContext.Cpu CPU = {
47 id: "0",
48 clockRate: 16.0,
49 catalogName: "ti.catalog.msp430",
50 deviceName: "MSP430F227x",
51 revision: "",
52 };
53
54 instance:
55 /*!
56 * ======== dssPath ========
57 * Path to the Debug Script Server (DSS) product
58 *
59 * This platform uses the DSS support delivered as part of Code
60 * Composer Studio or as a standalone product. `dssPath` must be set
61 * to an absolute path to the installation directory of DSS.
62 *
63 * For example, if you've installed Code Composer Essentials 3.1 in
64 * the default installation directory, `dssPath` should be set to
65 * `"C:/Program Files/Texas Instruments/CC Essentials v3.1/DebugServer"`.
66 */
67 config String dssPath;
68
69 override config String codeMemory = "FLASH";
70
71 override config String dataMemory = "RAM";
72
73 override config String stackMemory = "RAM";
74 };
75 76 77
78