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