找回密码
 注册
搜索
查看: 1972|回复: 7

[讨论] MTK入门资料(三)

[复制链接]
发表于 2009-3-18 10:49:13 | 显示全部楼层 |阅读模式
》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>
发表于 2009-4-2 21:03:43 | 显示全部楼层
[em05][em05][em05][em05][em05][em05][em05]
点评回复

使用道具 举报

发表于 2010-3-17 09:07:10 | 显示全部楼层
非常好的入门文档
点评回复

使用道具 举报

发表于 2010-3-17 09:20:15 | 显示全部楼层

意见

初学者的好文档
点评回复

使用道具 举报

发表于 2010-3-26 14:50:33 | 显示全部楼层
很好的入门文档 ,学习了!
[em01]
点评回复

使用道具 举报

发表于 2010-4-26 17:36:25 | 显示全部楼层
入门文档 ,学习
点评回复

使用道具 举报

发表于 2010-9-1 10:52:37 | 显示全部楼层
路过!!!
点评回复

使用道具 举报

发表于 2011-3-5 15:03:46 | 显示全部楼层
顶!!!!!!!![em01]
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-23 15:26 , Processed in 0.047541 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表