1    /* 
     2     *  Copyright (c) 2014 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     *  ======== M0.xdc ========
    15     *  Cortex M0 little endian thumb2 (ELF)
    16     */
    17    metaonly module M0 inherits ti.targets.arm.elf.IM0 {
    18        override readonly config string name        = "M0";
    19        override readonly config string suffix      = "em0";
    20        override readonly config string rts         = "ti.targets.arm.rtsarm";
    21    
    22        override readonly config xdc.bld.ITarget2.Command cc = {
    23            cmd:  "armcl -c",
    24            opts: "--endian=little -mv6M0 --abi=eabi"
    25        };
    26    
    27        override readonly config xdc.bld.ITarget2.Command asm = {
    28            cmd:  "armcl -c",
    29            opts: "--endian=little -mv6M0 --abi=eabi"
    30        };
    31    }
    32    /*
    33     *  @(#) ti.targets.arm.elf; 1, 0, 0,0; 5-12-2017 10:32:52; /db/ztree/library/trees/xdctargets/xdctargets-n04/src/ xlibrary
    34    
    35     */
    36