Build an example application#
To build the hello_world demo application, perform the following steps:
Open the desired demo application workspace. Most example application workspace files can be located using the following path:
<install_dir>/boards/<board_name>/<example_type>/<application_name>/<core_type>/iar
Using the MIMXRT1180-EVK hardware platform as an example, the
hello_worldworkspace is located in:<install_dir>/boards/evkmimxrt1180/demo_apps/hello_world/cm33/iar/hello_world_demo_cm33.eww
Other example applications may have additional folders in their path.
Select the desired build target from the drop-down menu.
The below lists project configurations (build targets) supported across MCUXpresso SDK projects:
Debug– Compiler optimization is set to low, and debug information is generated for the executable. The linker file isRAMlinker, where text and data section is put in internal TCM.Release– Compiler optimization is set to high, and debug information is not generated. The linker file isRAMlinker, where text and data section is put in internal TCM.flexspi_nor_debug– Project configuration is same as the debug target. The linker file isflexspi_norlinker, where text is put in flash and data put in TCM.flexspi_nor_release– Project configuration is same as the release target. The linker file isflexspi_norlinker, where text is put in flash and data put in TCM.hyperram_debug– Project configuration is same as the debug target. The linker file is HYPERRAM linker, where text is put in internal TCM and data put in HYPERRAM.hyperram_release– Project configuration is same as the release target. The linker file is HYPERRAM linker, where text is put in internal TCM and data put in HYPERRAM.hyperram_txt_debug– Project configuration is same as the debug target. The linker file isHYPERRAM_txtlinker, where text and data section is put in HYPERRAM.hyperram_txt_release– Project configuration is same as the release target. The linker file isHYPERRAM_txtlinker, where text and data section is put in HYPERRAM.flexspi_nor_hyperram_release- Project configuration is same as the release target. The linker file isflexspi_nor_hyperramlinker, where text is put in flash and data put in HYPERRAM.flexspi_nor_hyperram_debug– Project configuration is same as the debug target. The linker file isflexspi_nor_hyperramlinker, where text is put in flash and data put in HYPERRAM. For this example, select hello_world_demo– debug.

To build the demo application, click Make, highlighted in red in Figure 2.

The build completes without errors.
Parent topic:Run a demo using IAR