Академический Документы
Профессиональный Документы
Культура Документы
User Guide
Rev. OpenCPU_GCC_Eclipse_User_Guide_V1.0_Preliminary
Date: 2014-10-13
www.quectel.com
GSM/GPRS Module Series
OpenCPU GCC Eclipse User Guide
Our aim is to provide customers with timely and comprehensive service. For any
assistance, please contact our company headquarters:
GENERAL NOTES
QUECTEL OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT
ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR
RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO
CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
THIS INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF
QUECTEL CO., LTD. TRANSMITTABLE, REPRODUCTION, DISSEMINATION AND EDITING OF THIS
DOCUMENT AS WELL AS UTILIZATION OF THIS CONTENTS ARE FORBIDDEN WITHOUT
PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS
ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL
OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2014. All rights reserved.
History
Revision Date Author Description
Contents
Table Index
Figure Index
1 Introduction
This document introduces how to set up the IDE (Integrated Development Environment) for OpenCPU with
GCC and Eclipse.
2 Installation
JRE is Java Runtime Environment. Since Eclipse is developed by Java, so Java is necessary.
2.3. Installing GCC Compiler (Sourcery G++ Lite Edition for ARM)
Please refer to the 2nd section of the document [1] to install GCC compiler. (The 3rd and 4th section are
for command line user)
Windows 32-BIT and 64-BIT systems have the respective version of Eclipse. Please tell your system type
when asking for Eclipse software package.
Specify the released OpenCPU SDK and click [Finish] to finish import processing.
If you successfully import the released OpenCPU SDK, you will watch the figure below.
3.2. Configuration
Set the active build configuration from menu following the steps: [Project] [Build Configurations]
[Set Active] [Release].
Click the project root and open the “project properties” by one of the ways below.
- From menu following the steps: [Project] [Properties]
- From the right key of mouse
- By the shortcut keys: [Alt]+[Enter]
Up to now, the GCC Eclipse IDE environment and project are set up. Other configurations for IDE
environment and project have been done before released. Now you can directly start to build the project.
By default, the custom\main.c is compiled and linked.
3.3. Compilation
The main compiling commands are “Clean“ and “Build Project”, and the incremental build is supported.
Besides, before downloading the application to module, you need to do “Make Target”. Please see below.
The most-frequently executed commands are “Clean” and “Build Project”. You can launch the operation
from project menu or the right key of mouse.
Before downloading the application to module, you need to do “Make Target Build” to add some basic
information about the application into the app bin file. You can launch the operation from project menu or
the right key of mouse, or by the shortcut “Shift+F9”.
3.3.2. Makefile
in Eclipse, makefile is generated automatically, and all source codes files in Eclipse project are compiled.
In Eclipse, the build log is output to the “Console” panel including the build warnings and errors. Double
clicking the error log can locate the error code line.
All build errors and warnings are listed in the “Problems” panel.
4 Appendix
SN Document Name
[1] Quectel_OpenCPU_GCC_Installation_Guide
[2] Quectel_OpenCPU_Quick_Start_Application_Note