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     *  ======== M4.xdc ========
    15     *  Cortex M4, no floating point unit, little endian thumb2 (ELF)
    16     */
    17    metaonly module M4 inherits ti.targets.arm.elf.IM4 {
    18        override readonly config string name        = "M4";
    19        override readonly config string suffix      = "em4";
    20        override readonly config string rts         = "ti.targets.arm.rtsarm";
    21    
    22        override readonly config xdc.bld.ITarget2.Command cc = {
    23            cmd:  "cl470 -c",
    24            opts: "--endian=little -mv7M4 --float_support=vfplib --abi=eabi"
    25        };
    26    
    27        override readonly config xdc.bld.ITarget2.Command asm = {
    28            cmd:  "cl470 -c",
    29            opts: "--endian=little -mv7M4 --float_support=vfplib --abi=eabi"
    30        };
    31    
    32        /*!
    33         *  ======== linkLib ========
    34         *  Default TMS470 cgtools runtime library to link with executable
    35         *  (comes from $rootDir/lib)
    36         */
    37        config string linkLib = "rtsv7M4_T_le_eabi.lib";
    38    }
    39    /*
    40     *  @(#) ti.targets.arm.elf; 1, 0, 0,327; 8-23-2012 20:55:57; /db/ztree/library/trees/xdctargets/xdctargets-f27x/src/ xlibrary
    41    
    42     */
    43