Updated on 2023-12-21 GMT+08:00

Build with GNU Arm

Design, develop, and use an Arm simulator with the GNU Arm embedded toolchain.

Configuration Description

Add Build with GNU Arm, when configuring build actions.

The parameters are described in the following table.

Parameter

Description

Action Name

Name of a build action. It can be customized.

Tool Version

Select an Arm tool version.

Commands

Configure the GNU Arm commands. You can also use default commands.

  • If Makefile is not in the root directory of the code, run the cd command to access the correct directory and then run the make command.
  • If you do not want to run the make command, you can refer to the build commands provided by the following images:
    • gnuarm201405 image

      Use the arm-none-linux-gnueabi-gcc command, for example, arm-none-linux-gnueabi-gcc -o main main.c.

    • gnuarm-linux-gcc-4.4.3 image

      Use the arm-linux-gcc command, for example, arm-linux-gcc -o main main.c.

    • gnuarm-7-2018-q2-update image

      Use the arm-none-eabi-gcc command, for example, arm-none-eabi-gcc --specs=nosys.specs -o main main.c.

NOTE:
  • For details about how to write the GNU makefile in Linux, see the official website.
  • Makefile contains only line comment tags (#). If you want to use or output the number sign (#), escape the number sign, for example, using \#.