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