|
》MMI
这部分包括用户的接口架构,应用以及和协议栈的通讯。
Framework: This covers that
OSL: OS adaptation layer
Task: communication with L4 task.
File system: communication with storage device.
GUI: This covers that
Theme
UI component
Category screen
Font
Editor
T9 or Ezi input method.
Access LCD driver.
Customization tool.
Application
Phonebook
Messages (SMS, EMS 4.0, CB)
Call history
Setting. (Phone setting, network setting, security setup)
5 kinds of user profiles
Fun and games
Organizers
Services
Shortcuts
In call management.
Interrupt events, like charging , alarm.
-》WAP
如何编译
参考文档:wcr-MTK_MakeBuild_Design_Customer_040930.pdf
-》编译环境
操作系统:Windows 2000, WinXP. 推荐Windows 2000 with SP2 or later.
编译器:ADS (Arm Developer Suite) v1.2.
Perl解析:ActivePerl.推荐使用ActivePerl 5.6.1版本
-》make.bat
It will parse command line to determine project name, platform, and action. Meanwhile, checking \make directory exist or not and checking command line argument is legal or not. After checking, to execute build script GSM2.mak build script to perform action.
使用:
Usage: Make [custom=customername] [module]"
custom = Monza
project = GPRS (GSM only)
action = new (clean, scan, compile, link) (default)
= update (scan, compile, link)
= remake (compile, link)
= clean (clean)
module = component module name (nucleus, l1, ...)
Example:
To make/build new GPRS project, clean all old objects, libraries, and log files etc., the new action also creates necessary directories and removes all temporary files, and flushes log files automatically.
d:>\pvcs\maui\mcu\Make custom=Monza GPRS new
To update project dependency, and compile changed modules, link. Notice that, update and remake action won’t remove temporary files, and flush log file. Build results will be append after last log file.
d:>\pvcs\maui\mcu\Make custom=Monza GPRS update
To recompile changed files, and link
d:>\pvcs\maui\mcu\Make custom=Monza GPRS remake
To clean all objects, temporary files, libraries, and executable binaries. Meanwhile log file will also be flushed.
d:>\pvcs\maui\mcu\Make custom=Monza GPRS clean
To clean dedicated init modules’ objects libraries. Meanwhile log file will also be flushed.
d:>\pvcs\maui\mcu\Make custom=Monza GPRS clean init
-》how to customize your build environment
!!!To add some modules into or remove some modules from the building procedure.
To complete this kind of configuration, it is necessary to understand the following variables in the make file
Monza_GPRS.mak
COMPLIST: list all source code modules can be built to .lib. In initial custom release, COMPLIST
should be the sum of CUS_REL_SRC_COMP and CUS_REL_PAR_SRC_COMP. The following is the initial setting in custom release.
ifeq ($(strip $(CUSTOM_RELEASE)),TRUE)
COMPLIST = $(strip $(CUS_REL_SRC_COMP))
COMPLIST += $(strip $(CUS_REL_PAR_SRC_COMP))
endif
CUS_REL_MTK_COMP: list all modules provided with .lib only. These .lib are put in \mcu\mtk_libs.
If you want to add a source module
1、add the module "xyz" (in lower case) into COMPLIST.
ifeq ($(strip $(CUSTOM_RELEASE)),TRUE)
COMPLIST = $(strip $(CUS_REL_SRC_COMP))
COMPLIST += $(strip $(CUS_REL_PAR_SRC_COMP))
COMPLIST += xyz
endif
2、add a folder “mcu\make\xyz” for xyz.lis, xyz.inc, xyz.pth, xyz.def.
-》编译生成的文件以及log
1.编译的log在目录C:\code_100\build\a100中的MT6218B.log。目录C:\code_100\build\a100\log下的log文件为各个模块编译时生成的log。
2.编译生成的bin为C:\code_100\build\a100下的a100_PCB01_gprs_MT6218B_FN.W05_12.bin。
3.编译生成的目标文件在C:\code_100\build\a100\gprs\MT6218Bo目录中。
3、开发目录结构解析
参考文档:wcr-MTK_MakeBuild_Design_Customer_040930.pdf
目录结构:
[br]<p align=right><font color=red>+5 RD币</font></p> |
|