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