About how to build the MTK platform development environment

Source: Internet
Author: User
Tags imagemagick install perl

AboutMTKPlatformDevelopment EnvironmentThe building content is the content to be introduced in this article, mainly to learnMTK Development EnvironmentIs explained in detail.Development EnvironmentFor more information, see.

1. Install the compilation tool

1、ads1.2and ads1.2_update_848.exe, mtk is the arm7 core, so it is better to compile with ads. Of course, it should be possible to use other compilers, but I don't want to try it. It is too troublesome. Install these two software on the Internet. Note: It is best to install it in the default directory. Otherwise there will be something to do later. Installing by default directory can save a lot of trouble!

2. Install perl and use perl to compile mtk scripts.

3. At this point, it is usually possible. Because the source code of many release versions already has other third-party tools. Check whether there are any of the following tools. If not, install them. MSYS version: 1.0.10, MinGW version: 3.1.0, Gcc-core-3.3.1, Gcc-g ++-3.3.1, ImageMagick version: 6.3.6 Q16, 7-zip version: 3.13. Note: It is best to use the required versions. These are tested and will not cause any problems.

4. A friend may want to test me and delete a tool, so I cannot compile it at first. This tool prompts convert.exe that the file cannot be found. After installing imagemagick, put convert.exe in \ plutommi \ Customer \ ResGenerator.

Ii. Test and development environment

1. Enter the DOS command prompt line.

2. Go to the tools directory under your source code directory.

3rd, run chk_ev.exe. If you see "Build environment is ready !" The prompt indicates that your compiling environment is ready.

Iii. Start Compilation

1. Input make-h in the root directory of the source code to compile the mobile phone program. The following is my prompt:

 
 
  1. Usage:  
  2.   make ["customer"|"mt62xx"] "project" "action" ["modules"]  
  3. Description:  
  4.   customer   = mtk             (Default customer)  
  5.              = firefly17_demo  (FIREFLY17_DEMO project)  
  6.              = [mt6217|mt6219|mt6226|mt6227|mt6228|mt6229] (EVB only)  
  7.              = ...  
  8.   project    = l1s             (Layer 1 stand-alone)  
  9.              = gsm             (GSM only)  
  10.              = gprs            (GPRS only)  
  11.              = basic           (Basic Framework)  
  12.   action     = new             (codegen, resgen, clean, update) (default)  
  13.              = update or u     (scan, compile, link)  
  14.              = remake or r     (compile, link)  
  15.              = clean or c      (clean)  
  16.              = resgen          (resgen)  
  17.              = c,u             (clean then update)  
  18.              = c,r             (clean then remake)  
  19.              = codegen         (codegen)  
  20.              = viewlog         (open edit to view build log)  
  21.   module(s)  = modules' name   (kal, l1, ...)  
  22.    => OPTIONAL when action is one of (clean c remake r update u c,r c,u)  
  23. Example:  
  24.   make gsm new                         (MT6205B EVB new)  
  25.   make gprs codegen                    (MT6218B EVB codegen)  
  26.   make mt6219 gprs update              (MT6219 EVB update)  
  27.   make firefly17_demo gprs new  
  28.   make milan_demo gprs c,u init custom  
  29.   make mt6219 gprs r init custom drv 

That is to say, you only need to input commands such as make XXX gprs new to compile. XXXX indicates your project name.

2. Compile the simulator.

The simulator is compiled by VC. After compilation, an exe file is generated. You can run it directly to simulate the running of the mobile phone. Open it with VC6, and compile pixtelmmi. dsw in the \ plutommi \ mmi directory. Note: Both projects must be compiled.

Iv. Run

I have no hardware to run it, so I only simulate it on the pc.

Summary: AboutMTKPlatformDevelopment EnvironmentI hope this article will be helpful to you!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.