1 2 3 4 5 6 7 8 9 10 11
12 13 14 15
16
17 /*!
18 * ======== C64P ========
19 * TI C64P little endian (ELF)
20 */
21 metaonly module C64P inherits ITarget {
22 override readonly config string name = "C64P";
23 override readonly config string suffix = "e64P";
24 override readonly config string isa = "64P";
25 override readonly config xdc.bld.ITarget.Model model = {
26 endian: "little",
27 shortEnums: false
28 };
29 override readonly config xdc.bld.ITarget.Module base = ti.targets.C62;
30
31 32 33
34 override config String compatibleSuffixes[] = ["", "e64", "e62"];
35
36 override config string platform = "ti.platforms.sim6xxx:TMS320CDM420";
37
38 override readonly config xdc.bld.ITarget2.Command cc = {
39 cmd: "cl6x -c",
40 opts: "-mv64p --abi=eabi"
41 };
42
43 override readonly config xdc.bld.ITarget2.Command asm = {
44 cmd: "cl6x -c",
45 opts: "-mv64P --abi=eabi"
46 };
47
48 override readonly config Int bitsPerChar =
49 ti.targets.C62.bitsPerChar;
50 }
51 52 53 54
55