1 2 3 4 5 6 7 8 9 10 11
12 /*!
13 * ======== Arm9t.xdc ========
14 * TI Arm9 little endian thumb-mode target
15 */
16 metaonly module Arm9t inherits ti.targets.arm.elf.IArm {
17 override readonly config string name = "Arm9t";
18 override readonly config string suffix = "e9t";
19 override readonly config string isa = "v5T";
20 override readonly config string rts = "ti.targets.arm.rtsarm";
21
22 override readonly config xdc.bld.ITarget.Module base = ti.targets.arm.Arm9;
23
24 override readonly config xdc.bld.ITarget.Model model = {
25 endian: "little",
26 codeModel: "thumb",
27 shortEnums: true
28 };
29
30 31 32
33 override config String compatibleSuffixes[] = ["9", "7", "470"];
34
35 override readonly config ti.targets.ITarget.Command cc = {
36 cmd: "cl470 -c",
37 opts: "-me -mt -mv5e --abi=eabi"
38 };
39
40 override readonly config ti.targets.ITarget.Command asm = {
41 cmd: "cl470 -c",
42 opts: " -me -mt -mv5e --abi=eabi"
43 };
44
45 override readonly config ti.targets.ITarget.Command lnk = {
46 cmd: "lnk470",
47 opts: "--silicon_version=5e --strict_compatibility=on"
48 };
49
50 /*!
51 * ======== linkLib ========
52 * Default TMS470 cgtools runtime library to link with executable
53 * (comes from $rootDir/lib)
54 */
55 config string linkLib = "rtsv5_T_le_eabi.lib";
56 }
57 58 59
60