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