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