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     *  ======== Arm7.xdc ========
    14     *
    15     */
    16    
    17    import ti.targets.ITarget;
    18    
    19    /*!
    20     *  ======== Arm7.xdc ========
    21     *  TI Arm7 little endian 
    22     */
    23    metaonly module Arm7 inherits ti.targets.arm.IArm {
    24        override readonly config string name             = "Arm7"; 
    25        override readonly config string suffix           = "7";
    26        override readonly config string isa              = "v4T";    
    27        override readonly config string rts              = "ti.targets.arm.rtsarm";
    28        override readonly config xdc.bld.ITarget.Model model = {
    29            endian: "little"
    30        };
    31    
    32        /*
    33         *  ======== compatibleSuffixes ========
    34         */
    35        override config String compatibleSuffixes[] = ["470"];
    36    
    37        override readonly config xdc.bld.ITarget2.Command cc = {
    38            cmd:  "cl470 -c",
    39            opts: " -me -mv4 --abi=ti_arm9_abi"
    40        };
    41    
    42        override readonly config xdc.bld.ITarget2.Command asm = {
    43            cmd:  "cl470 -c",
    44            opts: " -me -mv4 --abi=ti_arm9_abi"
    45        };
    46    
    47        override readonly config xdc.bld.ITarget2.Command lnk = {
    48            cmd:  "lnk470",
    49            opts: "--silicon_version=4 --strict_compatibility=on"
    50        };
    51    
    52        /*!
    53         *  ======== linkLib ========
    54         *  Default Arm7 cgtools runtime library to link with 
    55         *  (options: rts16e.lib, rts32e.lib)
    56         */
    57        config string linkLib = "rts32e.lib";
    58        
    59    }
    60    /*
    61     *  @(#) ti.targets.arm; 2, 0, 1, 0,395; 8-23-2012 20:55:48; /db/ztree/library/trees/xdctargets/xdctargets-f27x/src/ xlibrary
    62    
    63     */
    64