Build an example application

To build an example application, follow these steps.

  1. Open a GCC Arm Embedded tool chain command window. To launch the window, from the Windows operating system Startmenu, go to Programs>**GNU Tools ARM Embedded <version>**and select GCC Command Prompt.

  2. Change the directory to the example application project directory which has a path similar to the following:

    <install_dir>/boards/<board_name>/<example_type>/<core_type>/<application_name>/armgcc

    For this example, the exact path is:

    <install_dir>/examples/evkmimxrt1160/demo_apps/hello_world/cm7/armgcc

    Note: To change directories, use the cd command.

  3. Type build_debug.baton the command line or double click on build_debug.batfile in Windows Explorer to build it. The output is as shown in Figure 2.

Parent topic:Run a demo using Arm® GCC