1    /* 
     2     *  Copyright (c) 2013 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     *  ======== M4F ========
    14     *  IAR M4F target
    15     */
    16    metaonly module M4F inherits IM4
    17    {
    18        override readonly config String name = "M4F";
    19    
    20        override readonly config String suffix = "rm4f";
    21    
    22        override config string platform  = "ti.platforms.stellaris:LM4F120H5QR:1";
    23    
    24        /*!
    25         *  ======== cc ========
    26         *  The command used to compile C/C++ source files into object files
    27         */
    28        override readonly config Command cc = {
    29            cmd: "iccarm",
    30            opts: "--aeabi --cpu=Cortex-M4F --diag_suppress=Pa050,Go005 --endian=little -e --fpu=VFPv4_sp --thumb"
    31        };
    32    
    33        /*!
    34         *  ======== asm ========
    35         *  The command used to assembles assembly source files into object files
    36         */
    37        override readonly config Command asm = {
    38            cmd: "iasmarm",
    39            opts: "--cpu Cortex-M4F --endian little --fpu VFPv4_sp "
    40        };
    41    
    42        /*!
    43         *  ======== lnk ========
    44         *  The command used to link executables.
    45         */
    46        override readonly config Command lnk = {
    47            cmd: "ilinkarm",
    48            opts: "--cpu=Cortex-M4F"
    49        };
    50    }
    51    /*
    52     *  @(#) iar.targets.arm; 1, 0, 0,16; 6-10-2013 15:17:27; /db/ztree/library/trees/xdctargets/xdctargets-g30x/src/ xlibrary
    53    
    54     */
    55