1    package local.targets;
     2    
     3    /*!
     4     *  ======== TIArm11 ========
     5     *  TI Arm11 target
     6     *
     7     *  This module represents a little endian Arm11 ti_arm9_abi
     8     *  target.  In this case, we inherit from the `{@link ITIArm}` interface
     9     *  (defined in this package) to show how to "share" common
    10     *  settings amoung multiple modules.  Again, there is no
    11     *  implementation required for this module.
    12     */
    13    metaonly module TIArm11 inherits local.targets.ITIArm
    14    {
    15        override readonly config String name             = "TIArm11";
    16        override readonly config String suffix           = "470_11";
    17        override readonly config String isa              = "arm6";    
    18        override readonly config xdc.bld.ITarget.Model model = {
    19            endian: "little"
    20        };
    21    
    22        override readonly config ti.targets.ITarget.Command cc = {
    23            cmd:  "cl470",
    24            opts: "-c -me --abi=ti_arm9_abi -mv=6 -eo.o470_11 -ea.s470_11"
    25        };
    26    
    27        override readonly config ti.targets.ITarget.Command asm = {
    28            cmd:  "cl470",
    29            opts: "-c -me --abi=ti_arm9_abi -mv=6 -eo.o470_11 -ea.s470_11"
    30        };
    31    
    32        /*!
    33         *  ======== linkLib ========
    34         *  Default TMS470 cgtools runtime library to link with 
    35         *  (options: rts16earm11.lib, rts32earm11.lib)
    36         */
    37        config String linkLib = "rts16earm11.lib";
    38    }