You copied the Doc URL to your clipboard.

Create a project in C/C++

After installing and licensing Arm® Development Studio, we are going to create a simple Hello World C project and show you how to specify the base RAM address for a target. For the remainder of this tutorial, we are going to use the Arm Compiler 6 toolchain and our target is a Cortex®-A9 Fixed Virtual Platform, provided with Arm Development Studio.

Prerequisites

  • Complete Open Arm® Development Studio for the first time
  • Ensure you are in the Development Studio Perspective. This is the default perspective when Arm Development Studio is first opened. To return to it, click the Development Studio button in the top right corner.

    Figure 5-1 Screenshot highlighting the button for the Development Studio Perspective.

    Screenshot highlighting the button for the Development Studio Perspective.

Procedure

  1. Create a new C project:
    1. If you have no projects open, click New Project in the Project Explorer view.
    2. Otherwise, select: File > New > Project.
  2. Expand the C/C++ menu, and select C project, then click Next.
  3. In the C Project dialog:
    1. In the Project name field, enter HelloWorld.
    2. Under Project type, select Executable > Hello World ANSI C Project.
    3. Under Toolchains, select Arm Compiler 6.
    4. Click Finish.

Figure 5-2 Screenshot of the IDE after creating a new project

Screenshot of the IDE after creating a new project

Was this page helpful? Yes No