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     *  ======== C64T_big_endian.xdc ========
    15     *
    16     */
    17    
    18    import xdc.bld.ITarget2;
    19    
    20    /*!
    21     *  ======== C64T_big_endian ========
    22     *  TI C64T big endian
    23     */
    24    metaonly module C64T_big_endian inherits ti.targets.ITarget {
    25        override readonly config string name                 = "C64T_big_endian";
    26        override readonly config string suffix               = "64Te";
    27        override readonly config string isa                  = "64T";
    28        override readonly config xdc.bld.ITarget.Model model = {
    29            endian: "big"
    30        };
    31        override readonly config xdc.bld.ITarget.Module base = ti.targets.C62;
    32    
    33        override readonly config string rts = "ti.targets.rts6000";
    34        override config string platform     = "ti.platforms.sdp4430";
    35        override readonly config string stdInclude = "ti/targets/std.h";
    36    
    37        override readonly config ITarget2.Command ar = {
    38            cmd: "ar6x",
    39            opts: "rq"
    40        };
    41    
    42        override readonly config ITarget2.Command cc = {
    43            cmd: "cl6x -c",
    44            opts: "-me -mv=tesla --abi=coffabi"
    45        };
    46    
    47        override readonly config ITarget2.Command vers = {
    48            cmd: "cl6x",
    49            opts: "--compiler_revision"
    50        };
    51    
    52        override readonly config ITarget2.Command asm = {
    53            cmd: "cl6x -c",
    54            opts: "-me -mv=tesla --abi=coffabi"
    55        };
    56    
    57        override readonly config ITarget2.Command lnk = {
    58            cmd: "lnk6x",
    59            opts: "--abi=coffabi"
    60        };
    61    
    62        /*!
    63         *  ======== asmOpts ========
    64         *  User configurable assembler options.
    65         *
    66         *  Defaults:
    67         *  @p(dlist)
    68         *      -`-qq`
    69         *          super quiet mode
    70         */
    71        override config ITarget2.Options asmOpts = {
    72            prefix: "-qq",
    73            suffix: ""
    74        };
    75    
    76        /*!
    77         *  ======== ccOpts ========
    78         *  User configurable compiler options.
    79         *
    80         *  Defaults:
    81         *  @p(dlist)
    82         *      -`-qq`
    83         *          super quiet mode
    84         *      -`-pdsw225`
    85         *          generate a warning for implicitly declared functions; i.e.,
    86         *          functions without prototypes
    87         */
    88        override config ITarget2.Options ccOpts = {
    89            prefix: "-qq -pdsw225",
    90            suffix: ""
    91        };
    92    
    93        /*!
    94         *  ======== ccConfigOpts ========
    95         *  User configurable compiler options for the generated config C file.
    96         *
    97         *  -mo places all functions into subsections
    98         *  --no_compress helps with compile time with no real difference in
    99         *  code size since the generated config.c is mostly data and small
   100         *  function stubs.
   101         */
   102        override config ITarget2.Options ccConfigOpts = {
   103            prefix: "$(ccOpts.prefix) -mo --no_compress",
   104            suffix: "$(ccOpts.suffix)"
   105        };
   106    
   107        override config string includeOpts = "-I$(rootDir)/include";
   108    
   109        final override readonly config string sectMap[string] =
   110            ti.targets.C62.sectMap;
   111    
   112        final override readonly config Bool splitMap[string] =
   113            ti.targets.C62.splitMap;
   114    
   115        override readonly config xdc.bld.ITarget.StdTypes stdTypes = 
   116            ti.targets.C62.stdTypes;
   117    
   118        override readonly config Int bitsPerChar = 
   119            ti.targets.C62.bitsPerChar;
   120    }
   121    /*
   122     *  @(#) ti.targets; 1, 0, 3,669; 3-17-2014 16:50:16; /db/ztree/library/trees/xdctargets/xdctargets-h18x/src/ xlibrary
   123    
   124     */
   125