1    package local.targets;
     2    
     3    /*!
     4     *  ======== TIArm11D ========
     5     *  TI Arm11 target
     6     *
     7     *  This module is exactly the same as `{@link TIArm11}` above except
     8     *  that it prints a message whenever one of its methods is
     9     *  called.  This module illustrates how one can override the
    10     *  implementations contained in the inherited interfaces to
    11     *  create customized target behavior; see the this module's
    12     *  implementation file `TIArm11D.xs`.
    13     */
    14    metaonly module TIArm11D inherits local.targets.ITIArm
    15    {
    16        override readonly config String name             = "TIArm11D"; 
    17        override readonly config String suffix           = "470_11";
    18        override readonly config String isa              = "arm6";    
    19        override readonly config xdc.bld.ITarget.Model model = {
    20            endian: "little"
    21        };
    22    
    23        override readonly config ti.targets.ITarget.Command cc = {
    24            cmd:  "cl470",
    25            opts: "-c -me --abi=ti_arm9_abi -mv=6 -eo.o470_11 -ea.s470_11"
    26        };
    27    
    28        override readonly config ti.targets.ITarget.Command asm = {
    29            cmd:  "cl470",
    30            opts: "-c -me --abi=ti_arm9_abi -mv=6 -eo.o470_11 -ea.s470_11"
    31        };
    32    
    33        /*!
    34         *  ======== linkLib ========
    35         *  Default TMS470 cgtools runtime library to link with 
    36         *  (options: rts16earm11.lib, rts32earm11.lib)
    37         */
    38        config String linkLib = "rts16earm11.lib";
    39    }