C o m m u n i c a t i o n s , I n c .
© 2006-2007
PalmMicro Communications, Inc.
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
9
y
Compiling page0 is not supported by our provided API programs.
2) The file is for the program to upgrade phone.
The space for phone main program, http data and DSP data are 10 pages, namely 10
×
64K
=
640K, and the program runs on page12-page21 or page21-page31. At present, 4
pages are for the main program, 1 page for http data and 5 pages for DSP data. So the
size of updating program file is 10
×
64K=640K. Details as follows:
y
Main program: codes part of all functions for AR1688 series products;
y
http data: files in src\res directory for web exploring, including multi-language;
y
DSP data: all kinds of algorithm data, include PCMU, PCMA, G.726-32, GSM 6.10,
G.729, iLBC and Speex;
Note:
y
If there no http data and DSP data, programs for updating phone can’t be created;
y
Http data files include Chinese, English, French, Italian,
Brazil, Spain, Romania,
Russia and Turkey
;
y
Phone program file includes only one protocol. According to [protocol] parameter
value to select protocol web configure file. [protocol]=SIP, import settings_sip.htm
and [protocol]=IAX2, import settings_iax2.htm;
Compile Operation
Compile operation of AR1688 runs on DOS environment. Enter the directory C:\sdcc\src\,
which includes compile (mk.bat) and clean (clean.bat) bat file, as follows:
mk.bat Batch File
mk.bat compiles source codes and produces program files. mk.bat calls reversion.exe,
make.exe and namebin.exe commands to compile and produce programs. Above three
commands are in the directory C:\sdcc\bin and will be described in chapter 4.
mk.bat syntax:
mk [hardware] [protocol] [language] [OEM] (Enter)
The 4 paramters are all defined in C:\sdcc\src\version.h.
y
Hardware: the type for the phone, defined as VER_XXXX in version.h. The value
for this parameter in mk command is “XXXX” that must be lowercase. In version.h,
they are:
// General version config
//#define VER_AR168C
//#define VER_AR168D
//#define VER_AR168DS