Set up ARM development in C-Free (to use ADS1.2) | last modified 3-30-2008

C-Free can support the multitudinous C/C++ compiler, besides MinGW, Borland C++, Digital Mars and Open Watcom C++, Ch that we know. According to your need, We will one after another introduce the integration and using method of other compilers in C-Free to you.

ARM ADS (ARM Development Suite) is the new generation of ARM integration development kit of ARM Corporation. Now the ADS newest edition is 1.2, it has substituted for early ADS1.1 and ADS1.0. It may install in Windows NT4, Windows 2000, Windows 98 and Windows XP and Windows Me operating system. ADS consists of the command line development kit, the ARM real-time library, the GUI development environment (Code Warrior and AXD), and the support software. Had these parts, the user has been possible to develop own applications for ARM series RISC processor.

Because the compilers contained in ADS are all used by command line, it is also very easy to invoke them in C-Free. Following step helps you to configure and use the ADS compiler in C-Free.

1. Downloads C-Free ADS development package. Click here for downloading now

After downloading, decompresses directly this Zip package of document to C-Free installation directory. This development package has contained:

  1. GCC-ARM and GCC-Thumb build configuration pattern files;
  2. The project wizard files for ARM application project creating.

note: The build configuration pattern files are located in data folder of C-Free installation directory. The project wizard files are located in templates folder of C-Free installation directory.

2. Installs the ADS1.2 development environment.

Installs the ADS1.2 environment in your system, and installs completes License, guarantees the command line tool to be able to use.

3. Configures ADS1.2 in C-Free

In order to use ADS in C-Free, we need to do some simple configurations for this compiler. Start C-Free, go to "Build" menu, and choose "Build Options" item, the "Build Options" dialog appears. Click the ">" button in the dialog, select "New Configuration..." item in the popup menu . The "New Configuration" dialog appears.

We select Builder Type as "GCC-ARM" and input a Configuration Name that you want. Here we input "arm". If you want to create a Thumb configuration, please select "GCC-Thumb" in Build Type. After that, click "OK". The "Compiler Location" dialog appears. In this dialog, you can specify the installation position of ADS1.2. Normally, C-Free can find out the ADS 1.2 installation in your machine automatically. If not, you should locate it manually.

After clicking "OK", all paths will be configured automatically. Following is the screen shot of paths for include files:



After clicking "OK", ADS 1.2 has been configured ok in C-Free.

Through the steps above, we created a Global Build Configuration named "arm". We can use this configuration to build file or project.

4. Starts ARM development in C-Free

Go to "Project" menu, and choose "New" to create a new project. The "New Project" dialog appears. We select "ARM" tab page in Project Types area. We can see there are two types of ARM project for you: Executable Image and Object Library, as showing below:

In the last step of project creating, there is a "Select Build Configuration" page. In this page, we select the global build configuration that we created in Step 3 as project build configuration. In the following screen shot we select "arm" configuration as project build configuration.



After click "Finish", you has set up a project for ARM development. You can create or add your code files to this project for developing.

5. Run ARM application in C-Free

The following figure is a screen shot of the running result of "Hello C-Free" program in AXD environment.

We hope the above steps has certain guidance function to you. Because author has not a thorough understanding on ADS , above introduction possibly cannot satisfy your request. If you still had question, please mail to us: support@programarts.com. Thanks!
 

Link(s):

Download C-Free ADS development package
 

 


Copyright © 2004-2008 ProgramArts Software Co., Ltd. All rights reserved.

Site Map | Add to Favorite | Contact Us