Analog Devices ADuCM360 Getting Started Manual page 10

Table of Contents

Advertisement

ADuCM360/ADuCM361
Figure 28. Options for Target Setup
Adding Project Files
All the files relative to the project are in the folder
\ADuCMxxxV1.3\Code\ADuCM360\examples\Adc.
Copy the file
\ADuCMxxxV1.3\Code\ADuCM360\examples\Adc
\ADCMeter.c into the new directory C:\ \ADuCMxxxV1.3\
Code\ADuCM360\examples\ADIdemo.
1.
To add the files to the project, right-click on the Source
Group folder in the Project window and select Add Files
to Group.
Figure 29. Adding Files to the Project
Note that under Project>Manage, the option
Components, Environment, Books can be used to rename
the target and add the file relative to your project.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
2.
Add all the files listed in Figure 31 from the directory
\ADuCMxxxV1.3\Code\ADuCM360\common. The
Startup file is located in the RealView folder.
3.
Double-click on the file name (ADCMeter.c) in the
Project window to open the source file.
Assembling/Compiling Code
To compile/link ADCMeter.c, click on the
file) icon in the toolbar. The file should compile correctly and
the information shown in Figure 32 should appear in the Build
Output window. If there are errors in your source code, these
appear in the status window. To identify the line of code that
corresponds to the error, double-click on the error in the Build
Output window and an arrow highlights the line of code in
error.
Before the code can be downloaded to the ADuCM360,
the entire project must be built. This is done by clicking on the
(rebuild all target files) icon on the toolbar. It will also
create a demo.elf file used by the debugger.
Rev. A | Page 10 of 16
Getting Started Guide
Figure 30. Renaming the Target
Figure 31. Project Files
(translate current
Figure 32. Build Output

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADuCM360 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Aducm361

Table of Contents