Bare Metal User Guide

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

1.6.4. Alternative Way to Create a Simple Bare Metal Project Running from On-Chip-RAM

To create a simple bare metal project that runs from OCRAM, you can also choose to import the Bare Metal example that is included with the Altera SoC EDS tools into the ARM DS-5 environment. For the simple "Hello World" bare metal project, you can import either one of the following from the “<SoC EDS installation path>\embedded\examples\software”:
  • Altera-SoCFPGA-HelloWorld-Baremetal-ARMCC.tar (using ARM compiler)
  • Altera-SoCFPGA-HelloWorld-Baremetal-GNU.tar (using GNU CC compiler)
Note: The above bare metal project examples can run on Arria 10, Arria V or Cyclone V SoC Development Kits.
Figure 46. Embedded Software Example Design List

These examples are make-based examples where the projects compile based on the Makefile settings or configurations. Creating a simple Bare Metal project manually as shown in the “Simple Bare-Metal Project Using On-Chip-RAM” section is creating a managed-make project where the makefile is auto-generated.

For more information on how to import, build and debug the project, you can refer to “Importing, Building and Debugging in a Make-Based Example” section.