1 2 3 4 5 6 7 8 9 10 11
12 13 14 15
16
17 import ti.targets.ITarget;
18
19 /*!
20 * ======== Arm7.xdc ========
21 * TI Arm7 little endian
22 */
23 metaonly module Arm7 inherits ti.targets.arm.IArm {
24 override readonly config string name = "Arm7";
25 override readonly config string suffix = "7";
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 xdc.bld.ITarget2.Command cc = {
38 cmd: "cl470 -c",
39 opts: " -me -mv4 --abi=ti_arm9_abi"
40 };
41
42 override readonly config xdc.bld.ITarget2.Command asm = {
43 cmd: "cl470 -c",
44 opts: " -me -mv4 --abi=ti_arm9_abi"
45 };
46
47 override readonly config xdc.bld.ITarget2.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 * (options: rts16e.lib, rts32e.lib)
56 */
57 config string linkLib = "rts32e.lib";
58
59 }
60 61 62 63
64