Download Altera SoC Embedded Design Suite User Guide
Transcript
Bare-Metal Compiler 10 2015.08.06 ug-1137 Subscribe Send Feedback The bare-metal compiler that is shipped with the SoC EDS is the Mentor Graphics Sourcery™ CodeBench Lite Edition, version 4.9.1. For more information on the Sourcery CodeBench Lite Edition and to download the latest version of the tools, refer to the Mentor Graphics website. The compiler is a GCC-based arm-altera-eabi port. It targets the ARM processor, it assumes bare-metal operation, and it uses the standard ARM embedded-application binary interface (EABI) conventions. The bare-metal compiler is installed as part of the SoC EDS installation in the following folder: <SoC EDS installation directory>/host_tools/mentor/gnu/arm/baremetal. The Embedded Command Shell, opened by running the script from the SoC EDS installation directory, sets the correct environment PATH variables for the bare-metal compilation tools to be invoked. After starting the shell, commands like arm-altera-eabi-gcc can be invoked directly. When the ARM DS-5 AE environment is started from the embedded command shell, it inherits the environment settings, and it can call these compilation tools directly. Alternatively, the full path to the compilation tools can be used: <SoC EDS installation directory>/host_ tools/mentor/gnu/arm/baremetal/bin. The bare-metal compiler comes with full documentation, located at <SoC EDS installation directory>/ host_tools/mentor/gnu/arm/baremetal/share/doc/sourceryg++-arm-altera-eabi. The documentation is offered in four different formats to accommodate various user preferences: • • • • HTML files Info files Man pages PDF files Among the provided documents are: • • • • • • • (2) Compiler manual Assembler manual Linker manual Binutils manual GDB manual Getting Started Guides(2) Libraries Manual The Getting Started Guides are located on the SoCEDSGettingStarted page on the Altera Wiki. © 2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. www.altera.com 101 Innovation Drive, San Jose, CA 95134 ISO 9001:2008 Registered