1 2 3 4 5 6 7 8 9 10 11
12 /*!
13 * ======== M4F ========
14 * IAR M4F target
15 */
16 metaonly module M4F inherits IM4
17 {
18 override readonly config String name = "M4F";
19
20 override readonly config String suffix = "rm4f";
21
22 override config string platform = "ti.platforms.stellaris:LM4F120H5QR:1";
23
24 /*!
25 * ======== cc ========
26 * The command used to compile C/C++ source files into object files
27 */
28 override readonly config Command cc = {
29 cmd: "iccarm",
30 opts: "--aeabi --cpu=Cortex-M4F --diag_suppress=Pa050,Go005 --endian=little -e --fpu=VFPv4_sp --thumb"
31 };
32
33 /*!
34 * ======== asm ========
35 * The command used to assembles assembly source files into object files
36 */
37 override readonly config Command asm = {
38 cmd: "iasmarm",
39 opts: "--cpu Cortex-M4F --endian little --fpu VFPv4_sp "
40 };
41
42 /*!
43 * ======== lnk ========
44 * The command used to link executables.
45 */
46 override readonly config Command lnk = {
47 cmd: "ilinkarm",
48 opts: "--cpu=Cortex-M4F"
49 };
50 }
51 52 53 54
55