1 2 3 4 5 6 7 8 9 10 11
12
13 /*!
14 * ======== R4t.xdc ========
15 * Cortex R4 little endian thumb2
16 */
17 metaonly module R4t inherits ti.targets.arm.IR4 {
18 override readonly config string name = "R4t";
19 override readonly config string suffix = "r4t";
20 override readonly config string rts = "ti.targets.arm.rtsarm";
21
22 override readonly config xdc.bld.ITarget.Model model = {
23 endian: "little",
24 codeModel: "thumb2"
25 };
26
27 override readonly config xdc.bld.ITarget2.Command cc = {
28 cmd: "cl470 -c",
29 opts: "-mt --endian=little -mv7R4 --abi=ti_arm9_abi"
30 };
31
32 override readonly config xdc.bld.ITarget2.Command asm = {
33 cmd: "cl470 -c",
34 opts: "-mt --endian=little -mv7R4 --abi=ti_arm9_abi"
35 };
36
37 /*!
38 * ======== linkLib ========
39 * Default TMS470 cgtools runtime library to link with executable
40 * (comes from $rootDir/lib)
41 */
42 config string linkLib = "rtsv7R4_T_le_tiarm9.lib";
43 }
44 45 46 47
48