1 requires ti.targets; 2 3 /*! 4 * ======== local.targets ======== 5 * This package contains several examples of arm targets based on the TI 6 * codegen tools. 7 * 8 * This package illustrates how one can create custom targets *without* 9 * making any changes to the xdc tool set. This means that the developer is 10 * never dependent on "external" developers for updates to the xdc tools in 11 * order to build libraries with respect to special targets. 12 * 13 * This package contains the following modules: 14 * 15 * TIArm9 this module represents a little endian Arm9 ti_arm9_abi 16 * target. Because this module inherits from the 17 * ti.targets.ITarget interface, there is no need to implement 18 * any of the xdc.bld.ITarget functions (the implementations 19 * in ti.targets.ITarget are sufficient). 20 * 21 * TIArm11 - this module represents a little endian Arm11 ti_arm9_abi 22 * target. In this case, we inherit from the ITIArm interface 23 * (defined in this package) to show how to "share" common 24 * settings amoung multiple modules. Again, there is no 25 * implementation required for this module. 26 * 27 * TIArm11D - this module is exactly the same as TIArm11 above except 28 * that it prints a message whenever one of its methods is 29 * called. This module illustrates how one can override the 30 * implementations contained in the inherited interfaces to 31 * create customized target behavior; see the implementation 32 * file TIArm11D.xs 33 * 34 * This package contains the following interfaces: 35 * 36 * ITIArm - this interface is used by the TIArm11 and TIArm11D modules 37 * described above. Its sole purpose is to encapsulate 38 * commonality between multiple targets defined in this 39 * package; in this case, TIArm11 and TIArm11D. We could 40 * have used this interface with TIArm9 but choose not to 41 * for pedagogic reasons. 42 * 43 */ 44 package local.targets [1, 0, 0] 45 { 46 module TIArm9; 47 48 interface ITIArm; 49 module TIArm11, TIArm11D; 50 }