Getting Started with Freescale MQX
™ and IAR Embedded Workbench
®
, Rev. 5, 04/2015
Freescale Semiconductor
3
2 Building the MQX RTOS Libraries and example application
See Chapter 2 of the
Getting Started with Freescale MQX™ RTOS
(document MQXGSRTOS)
for
details on generic build process and compile time configuration. This document concentrates on
steps specific to IAR tool chain only.
For MQX RTOS v4.2.0, each example/demo application comes with one workspace file, which
contains the path to the example/demo project file and all dependent MQX RTOS library project
files. Import the workspace file in the folder. For example, with MQX RTOS:
<mqx_install_dir>/mqx/examples/<example>/build/iar/<example>_<board_name>/<exampl
e>_<board_name>.eww
For Hello World example of MQX RTOS for FRDMK64F120M, the workspace file is located in
folder:
<mqx_install_dir>/mqx/examples/hello/build/iar/hello_frdmk64f/hello_frdmk64f.eww
Figure 1- Import projects into IAR workspace
2.1 Batch Build in IAR Embedded Workbench IDE
The IAR IDE supports build of multiple project files in one go. Follow these spets to build all the
MQX RTOS library project files within a workspace at once.
Go to menu “Project / Batch Build” or press the F8 key in the IAR IDE.
Select Batch configuration to build (see next section for more details about build targets).
Press the “Make” button to start the batch build process.