1 package local.targets; 2 3 /*! 4 * ======== TIArm9 ======== 5 * TI Arm9 target 6 * 7 * This module represents a little endian Arm9 ti_arm9_abi 8 * target. Because this module inherits from the 9 * `{@link ti.targets.ITarget}` interface, there is no need to implement 10 * any of the `xdc.bld.ITarget` functions (the implementations 11 * in `ti.targets.ITarget` are sufficient). 12 */ 13 metaonly module TIArm9 inherits local.targets.ITIArm 14 { 15 override readonly config String name = "TIArm9"; 16 override readonly config String suffix = "470_9"; 17 override readonly config String isa = "arm5e"; 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=5e -eo.o470_9 -ea.s470_9" 25 }; 26 27 override readonly config ti.targets.ITarget.Command asm = { 28 cmd: "cl470", 29 opts: "-c -me --abi=ti_arm9_abi -mv=5e -eo.o470_9 -ea.s470_9" 30 }; 31 32 /*! 33 * ======== linkLib ======== 34 * Default TMS470 cgtools runtime library to link with 35 * (options: rts16earm9.lib, rts32earm9.lib) 36 */ 37 config String linkLib = "rts16earm9.lib"; 38 }