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