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