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.arm.elf.ITarget;
    18    
    19    /*!
    20     *  ======== Arm7.xdc ========
    21     *  TI Arm7 little endian target
    22     */
    23    metaonly module Arm7 inherits ti.targets.arm.elf.IArm {
    24        override readonly config string name             = "Arm7"; 
    25        override readonly config string suffix           = "e7";
    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 ti.targets.ITarget.Command cc = {
    38            cmd:  "cl470 -c",
    39            opts: " -me -mv4 --abi=eabi"
    40        };
    41    
    42        override readonly config ti.targets.ITarget.Command asm = {
    43            cmd:  "cl470 -c",
    44            opts: " -me -mv4 --abi=eabi"
    45        };
    46    
    47        override readonly config ti.targets.ITarget.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         */
    56        config string linkLib = "rtsv4_A_le_eabi.lib";
    57        
    58    }
    59    /*
    60     *  @(#) ti.targets.arm.elf; 1, 0, 0,69; 7-29-2009 16:35:26; /db/atree/library/trees/xdctargets/xdctargets-b12x/src/
    61     */
    62