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