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