Visible to Intel only — GUID: lro1446492116169
Ixiasoft
1.1. Introduction
1.2. Bare Metal Overview
1.3. Prerequisites for the Bare Metal Development Environment
1.4. Bare Metal Compiler
1.5. Bare Metal Development Flow
1.6. Using DS-5 AE to Create and Manage Bare Metal Projects
1.7. Importing, Building and Debugging in a Make-Based Example
1.8. DS-5 ARM HWLIBs Project Derived from Make-Based Project
1.9. Minimal Preloader
1.10. Appendix: Troubleshooting
Visible to Intel only — GUID: lro1446492116169
Ixiasoft
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.