1    /* 
     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     * */
    12    /*!
    13     *  ======== Arm9.xdc ========
    14     *  TI Arm9 little endian target
    15     */
    16    metaonly module Arm9 inherits ti.targets.arm.IArm {
    17        override readonly config string name        = "Arm9"; 
    18        override readonly config string suffix      = "9";
    19        override readonly config string isa         = "v5T";    
    20        override readonly config string rts         = "ti.targets.arm.rtsarm";
    21    
    22        override readonly config xdc.bld.ITarget.Module base = ti.targets.TMS470;
    23    
    24        override readonly config xdc.bld.ITarget.Model model = {
    25            endian: "little"
    26        };
    27    
    28        /*
    29         *  ======== compatibleSuffixes ========
    30         */
    31        override config String compatibleSuffixes[] = ["7", "470", "9t"];
    32    
    33        override readonly config ti.targets.ITarget.Command cc = {
    34            cmd:  "cl470 -c",
    35            opts: "-me -mv5e --abi=ti_arm9_abi"
    36        };
    37    
    38        override readonly config ti.targets.ITarget.Command asm = {
    39            cmd:  "cl470 -c",
    40            opts: "-me -mv5e --abi=ti_arm9_abi"
    41        };
    42    
    43        override readonly config ti.targets.ITarget.Command lnk = {
    44            cmd:  "lnk470",
    45            opts: "--silicon_version=5e --strict_compatibility=on"
    46        };
    47    
    48        /*!
    49         *  ======== linkLib ========
    50         *  Default TMS470 cgtools runtime library to link with executable
    51         *  (comes from $rootDir/lib)
    52         */
    53        config string linkLib = "rts32e.lib";    
    54    }
    55    /*
    56     *  @(#) ti.targets.arm; 2, 0, 1, 0,202; 2-24-2010 16:24:12; /db/ztree/library/trees/xdctargets/xdctargets-b36x/src/
    57     */
    58