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