1 2 3 4 5 6 7 8 9 10 11
12
13 /*!
14 * ======== IM4.xdc ========
15 * Cortex M4 little endian thumb2 target
16 */
17 metaonly interface IM4 inherits ti.targets.arm.elf.IArm {
18 override readonly config string isa = "v7M4";
19
20 override readonly config xdc.bld.ITarget.Module base = ti.targets.arm.Arm9;
21
22 override config string platform = "ti.platforms.stellaris:LM4FSXLH5BB:1";
23
24 override readonly config xdc.bld.ITarget.Model model = {
25 endian: "little",
26 codeModel: "thumb2",
27 shortEnums: true
28 };
29
30 override readonly config xdc.bld.ITarget2.Command lnk = {
31 cmd: "lnk470",
32 opts: "--silicon_version=7M4 --strict_compatibility=on"
33 };
34 }
35 36 37 38
39