1    /* 
     2     *  Copyright (c) 2008-2015 Texas Instruments Incorporated
     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     *  ======== C674_big_endian.xdc ========
    15     *
    16     */
    17    
    18    /*!
    19     *  ======== C674_big_endian ========
    20     *  TI C674 big endian
    21     */
    22    metaonly module C674_big_endian inherits ti.targets.ITarget {
    23        override readonly config string name                 = "C674_big_endian";
    24        override readonly config string suffix               = "674e";
    25        override readonly config string isa                  = "674";
    26        override readonly config xdc.bld.ITarget.Model model = {
    27            endian: "big"
    28        };
    29        override readonly config xdc.bld.ITarget.Module base = ti.targets.C64P;
    30    
    31        /*
    32         *  ======== compatibleSuffixes ========
    33         */
    34        override config String compatibleSuffixes[] = ["64Pe", "64e", "62e"];
    35    
    36        override readonly config string rts = "ti.targets.rts6000";
    37        override config string platform     = "ti.platforms.evmDA830";
    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 -mv6740"
    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 -mv6740"
    57        };
    58    
    59        override readonly config xdc.bld.ITarget2.Command lnk = {
    60            cmd: "cl6x",
    61            opts: "-z"
    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         *  ======== ccConfigOpts ========
    97         *  User configurable compiler options for the generated config C file.
    98         *
    99         *  -mo places all functions into subsections
   100         *  --no_compress helps with compile time with no real difference in
   101         *  code size since the generated config.c is mostly data and small
   102         *  function stubs.
   103         */
   104        override config xdc.bld.ITarget2.Options ccConfigOpts = {
   105            prefix: "$(ccOpts.prefix) -mo --no_compress",
   106            suffix: "$(ccOpts.suffix)"
   107        };
   108    
   109        override config string includeOpts = "-I$(rootDir)/include";
   110    
   111        final override readonly config string sectMap[string] =
   112            ti.targets.C64P.sectMap;
   113    
   114        final override readonly config Bool splitMap[string] =
   115            ti.targets.C64P.splitMap;
   116    
   117        override readonly config xdc.bld.ITarget.StdTypes stdTypes =
   118            ti.targets.C64P.stdTypes;
   119    
   120        override readonly config Int bitsPerChar =
   121            ti.targets.C64P.bitsPerChar;
   122    }
   123    /*
   124     *  @(#) ti.targets; 1, 0, 3,0; 2-10-2017 09:06:41; /db/ztree/library/trees/xdctargets/xdctargets-m11/src/ xlibrary
   125    
   126     */
   127