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
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.
- Create a new C project by selecting File > New > C Project.
- 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 TypeNote:
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.
- 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