1 2 3 4 5 6 7 8 9 10 11
12
13 /*!
14 * ======== M4.xdc ========
15 * Cortex M4, no floating point unit, little endian thumb2 (ELF)
16 */
17 metaonly module M4 inherits ti.targets.arm.elf.IM4 {
18 override readonly config string name = "M4";
19 override readonly config string suffix = "em4";
20 override readonly config string rts = "ti.targets.arm.rtsarm";
21
22 23 24
25 override config String compatibleSuffixes[] = ["em3"];
26
27 override readonly config xdc.bld.ITarget2.Command cc = {
28 cmd: "armcl -c",
29 opts: "--endian=little -mv7M4 --float_support=vfplib --abi=eabi"
30 };
31
32 override readonly config xdc.bld.ITarget2.Command asm = {
33 cmd: "armcl -c",
34 opts: "--endian=little -mv7M4 --float_support=vfplib --abi=eabi"
35 };
36 }
37 38 39 40
41