Program Compile; Compile Environment; Program File - PalmMicro AR1688 Development Manual

Based ip phone
Table of Contents

Advertisement

C o m m u n i c a t i o n s , I n c .

2 Program Compile

Compile Environment

Compile AR1688 with SDCC compiler. The configuration of compile path is in the file
D:\sdcc\src\makefile and the configuration determines location of compiler and program.
Makefile is as follows:
PATH_SDCC=C:\SDCC
Compiler and program directory SDCC are in disk C:, namely C:\SDCC, which is default
setting.

Program File

The program file is a binary file and rules for a file name are
hardware_protocol_language_OEM_version.bin
Example: ar168x_sip_cn_oem_032000.bin.
"hardware", "protocol", "language" and "oem" correspond with parameters in mk command.
For more details see the chapter about mk command.
"version" denotes the API program version that is defined in C:\sdcc\src\version.h, they
are:
#define SOFT_VER_HIGH
#define SOFT_VER_LOW
#define SOFT_VER_BUILD
#define ENG_BUILD_HIGH
#define ENG_BUILD_MID
#define ENG_BUILD_LOW
The program file includes a safe-recovery mode program file and a phone update program
file, as follows:
1)
safe-recovery mode program file
The safe-recovery mode program file is the update file for page0. While parameter
[protocol] in mk command is "none", this file is created.
Note:
Safe-mode program file is called page0 updating file for short in the later description.
PalmMicro Communications, Inc.
© 2006-2007
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
0
3
2
0
0
0
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents