
- #ALTIUM DESIGNER TUTORIAL ARM HOW TO#
- #ALTIUM DESIGNER TUTORIAL ARM SOFTWARE#
You can make a selection based on manufacturer, or you can select a generic device. The contents of this drop down list will depend on which plugins are installed.
In the Compiler Options tab select the Device. The Options for Embedded Project dialog appears. Alternatively, select Project»Project Options from the menu. In the Projects panel, right-click on GettingStarted.PrjEmb and select Project Options. (Different toolsets may have different sets of options.)įor an embedded project, you must specify the device for which you want to build your embedded project first: Specifying the options of the tools in the toolset, such as the C++/C compiler, assembler and linker options. Selecting a device (resulting in an associated toolset). After you have added files to your project, and have written your application (hello.c in our example), the next steps in the process of building your embedded application are: Save the project (right-click on the project name in the Projects panel and select Save Project).Īn embedded project in Altium Designer has a set of embedded options associated with it. Double-click on the filename to view or edit this file in the Text Editor. The source file is added to the project and listed in the Projects panel. Navigate to the file you want to add to your project and click Open. The Choose Documents to Add to Project dialog appears. In the Projects panel, right-click on the project name and select Add Existing to Project. If you want to add an existing source file to your project, proceed as follows: Save the project by right-clicking on GettingStarted.PrjEmb in the Projects panel and select Save Project.Īdding existing source files to the project. Navigate to where you want to store the source file on your hard disk, type the name hello.c in the File name field and click on Save. Save the source file by selecting File»Save As. For this tutorial enter the following code: The Text Editor opens ready for your input. #ALTIUM DESIGNER TUTORIAL ARM SOFTWARE#
A new C source file, C_Source1.c, is added to the Embedded Software project under the folder named Source Documents in the Projects panel.
In the Projects panel, right-click on GettingStarted.PrjEmb and select Add New to Project✼ File. If you want to add a new source file to your project, proceed as follows: Navigate to a location where you want to save the project on your hard disk, type the name GettingStarted.PrjEmb in the File name field and click on Save. PrjEmb extension) by selecting File»Save Project As. The Projects panel displays a new project file, Embedded_Project1.PrjEmb. If this panel is not displayed, click on the Files tab at the bottom of the Design Manager panel.
Select File»New»Project✾mbedded Project from the menu, or click on Blank Project (Embedded) in the New section of the Files panel. To create a new Embedded Software project: For embedded software, you need to create an Embedded Software project. A project makes managing your source documents and any generated outputs much easier. To start working with Altium Designer, you first need a project. Table 1: File extensions Creating an Embedded Project Relocatable object file, generated by the assemblerĮLF/DWARF 2 absolute object file, generated by the locating part of the linker Intermediate C source file, generated by the C++ compilerĪssembler source file, generated by the C compiler, does not contain macros
The following table lists the file types used by the TASKING toolset.Ĭ++ source file, input for the C++ compiler The C++ compiler, C compiler, assembler, linker and debugger are target dependent. The figure below shows all components of the TASKING toolset with their input and output files. With the TASKING embedded software tools in Altium Designer you can write, compile, assemble and link applications for several targets, such as the PowerPC, TSK3000, MicroBlaze, Nios II and ARM. The example used in this tutorial is a Hello World program in C. An embedded software project is normally used as a subproject for an FPGA project and once they are built, they are downloaded and executed inside an FPGA device.
#ALTIUM DESIGNER TUTORIAL ARM HOW TO#
It describes how you can add, create and edit source files in an embedded project and how to build an embedded application.
It contains an overview of the TASKING tools available in Altium Designer. This tutorial presumes you are familiar with programming in C++, C and/or assembly and have basic knowledge of embedded programming. Setting options for an individual document.Adding existing source files to the project.Adding a new source file to the project.