Bare Metal User Guide

ID 683211
Date 11/30/2015
Public
Document Table of Contents

1.6.1.1. Create Project

In Windows, go to Windows > All Programs > ARM DS-5 > Eclipse for DS-5 to open the ARM DS-5 tool. Select a workspace before you begin. If it is not already selected, change to C/C++ Perspective, located at the top right tabs of DS-5.
  1. Create a new C project by selecting File > New > C Project.
  2. Select Project Type as "Hello World ANSI C Project" and Toolchains as "ARM Compiler 5 (DS-5 built-in)" and enter a unique project name in the Project Name field. For example, bare-metal-hello-world-01.
    Figure 6. Creating C Project of Selected Type
    Note:

    The DS-5 is supplied with two versions of the ARM Compiler for compiling bare metal applications. ARM Compiler 5 supports all ARM architectures except ARMv8. ARM Compiler 6 supports architectures ARMv8 and ARMv7-A, as well as alpha support for architectures ARMv7-R, ARMv7-M and ARMv6-M. For Altera SoC FPGA, ARM Compiler 5 is required.

    Both versions of ARM Compiler are license managed and not all editions of DS-5 include a license for it.

    For any licensing information, please refer to the "Licensing" chapter in the Altera SoC EDS User Guide.

  3. Select Finish.
    The source code for bare-metal-hello-world-01.c appears in the editor view.
    Figure 7. Bare Metal "Hello World - 01" Code Snippet