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     *  ======== C67.xdc ========
    14     *
    15     */
    16    
    17    /*!
    18     *  ======== C67 ========
    19     *  TI C67 little endian target
    20     */
    21    metaonly module C67 inherits ti.targets.ITarget {
    22        override readonly config string name                 = "C67";
    23        override readonly config string suffix               = "67";
    24        override readonly config string isa                  = "67";        
    25        override readonly config xdc.bld.ITarget.Model model = {
    26            endian: "little"
    27        };
    28        override readonly config xdc.bld.ITarget.Module base = ti.targets.C62;
    29    
    30        override readonly config string rts = "ti.targets.rts6000";
    31        override config string platform     = "ti.platforms.sim6xxx:TMS320C6713";
    32        
    33        /*
    34         *  ======== compatibleSuffixes ========
    35         */
    36        override config String compatibleSuffixes[] = ["62"];
    37    
    38        override readonly config ITarget.Command ar = {
    39            cmd: "ar6x",
    40            opts: "rq"
    41        };
    42    
    43        override readonly config ITarget.Command cc = {
    44            cmd: "cl6x -c",
    45            opts: "-mv6700"
    46        };
    47    
    48        override readonly config ITarget.Command vers = {
    49            cmd: "cl6x",
    50            opts: "-version"
    51        };
    52    
    53        override readonly config ITarget.Command asm = {
    54            cmd: "cl6x -c",
    55            opts: "-mv6700"
    56        };
    57    
    58        override readonly config ITarget.Command lnk = {
    59            cmd: "lnk6x",
    60            opts: ""
    61        };
    62        
    63        /*!
    64         *  ======== asmOpts ========
    65         *  User configurable assembler options.
    66         *
    67         *  Defaults:
    68         *  @p(dlist)
    69         *      -`-qq`
    70         *          super quiet mode
    71         */
    72        override config ITarget.Options asmOpts = {
    73            prefix: "-qq",
    74            suffix: ""
    75        };
    76    
    77        /*!
    78         *  ======== ccOpts ========
    79         *  User configurable compiler options.
    80         *
    81         *  Defaults:
    82         *  @p(dlist)
    83         *      -`-qq`
    84         *          super quiet mode
    85         *      -`-pdsw225`
    86         *          generate a warning for implicitly declared functions; i.e.,
    87         *          functions without prototypes
    88         */
    89        override config ITarget.Options ccOpts = {
    90            prefix: "-qq -pdsw225",
    91            suffix: ""
    92        };
    93    
    94        /*!
    95         *  ======== lnkOpts ========
    96         *  User configurable linker options.
    97         *
    98         *  Defaults:
    99         *  @p(dlist)
   100         *      -`-w`
   101         *          Display linker warnings
   102         *      -`-q`
   103         *          Quite run
   104         *      -`-u`
   105         *          Place unresolved external symbol into symbol table
   106         *      -`-c`
   107         *          ROM autoinitialization model
   108         *      -`-m`
   109         *          create a map file
   110         *      -`-l`
   111         *          archive library file as linker input
   112         */
   113        override config ITarget.Options lnkOpts = {
   114            prefix: "-q -u _c_int00",
   115            suffix: "-c -m $(XDCCFGDIR)/$@.map -l $(rootDir)/lib/rts6700.lib"
   116        };
   117            
   118        override config string includeOpts = "-I$(rootDir)/include";
   119    
   120        final override readonly config string sectMap[string] =
   121            ti.targets.C62.sectMap;
   122    
   123        override readonly config xdc.bld.ITarget.StdTypes stdTypes = C62.stdTypes;
   124        
   125        override readonly config Int bitsPerChar = C62.bitsPerChar;
   126    }
   127    /*
   128     *  @(#) ti.targets; 1, 0, 3,320; 7-29-2009 16:34:46; /db/atree/library/trees/xdctargets/xdctargets-b12x/src/
   129     */
   130