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