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     *  ======== C64.xdc ========
    15     *
    16     */
    17    
    18    /*!
    19     *  ======== C64 ========
    20     *  TI C64 default runtime model (little endian)
    21     */
    22    metaonly module C64 inherits ti.targets.ITarget {
    23        override readonly config string name                 = "C64";
    24        override readonly config string suffix               = "64";
    25        override readonly config string isa                  = "64"; 
    26        override readonly config xdc.bld.ITarget.Model model = {
    27            endian: "little"
    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:TMS320C6416";
    33    
    34        /*
    35         *  ======== compatibleSuffixes ========
    36         */
    37        override config String compatibleSuffixes[] = ["62"];
    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: "-mv6400"
    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: "-mv6400"
    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        override config string includeOpts = "-I$(rootDir)/include";
    96    
    97        final override readonly config string sectMap[string] =
    98            ti.targets.C62.sectMap;
    99    
   100        final override readonly config Bool splitMap[string] =
   101            ti.targets.C62.splitMap;
   102    
   103        override readonly config xdc.bld.ITarget.StdTypes stdTypes = C62.stdTypes;
   104    
   105        override readonly config Int bitsPerChar = C62.bitsPerChar;
   106    };
   107    /*
   108     *  @(#) ti.targets; 1, 0, 3,669; 3-17-2014 16:50:15; /db/ztree/library/trees/xdctargets/xdctargets-h18x/src/ xlibrary
   109    
   110     */
   111