首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

Processor Expert Plug-in Overview

Processor Expert Plug-in Overview

Processor Expert Plug-in Overview

The Processor Expert was originally developed as a stand-alone product. Now, to provide a more efficient and comfortable development environment, we integrated it as a plug-in to the CodeWarrior.

The CodeWarrior IDE menu contains a new menu item named Processor Expert. The Processor Expert plug-in generates code from the MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/embeddedbeans.html">Embedded Beans and CodeWarrior manages the project files and the compilation and debugging processes.

MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/images/peintro.png" width="496" alt=""/>
Figure 1 - CodeWarrior IDE with Processor Expert plug-in active

How to create a new project

See the chapter MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/tutorial.html">Tutorials or MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/quickstart.html">Quick Start for step-by-step instructions on how to start a new Processor Expert project.

Compiler and Linker settings

To set the compiler and linker options, select the command {TargetName} Settings in the "Edit" menu in the Code Warrior main menu. You can find linker and compiler specific settings in the "Target" and "Linker" folders. The command {TargetName} Settings is not available when no project is open.

Where to find source code and user modules

Processor Expert generates all drivers during the code design process. The generated files are automatically inserted into the active (default) target in the CodeWarrior project. Generated files corresponding to MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/embeddedbeans.html">Embedded Beans can be accessed in the "Generated Code" folder in the "Files" tab in the Code Warrior project window.
Other files, intended to be modified by users, are generated into the "User modules" folder in the "Files" tab in the Code Warrior Project window. A user can also add his/her own specific source code files into this folder. If the linker setting of the default target does not match the CPU in the Processor Expert project, the user is asked whether to automatically set the correct linker settings in the default target or to create a new target with correct linker settings. In the latter case the files will be generated in the new target (more information about the CodeWarrior Project panel can be found in the CodeWarrior documentation). For more information on generated files please see the chapter MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/codesign.html">Code Generation.

MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/images/cwprojectpanel.png" width="344" alt=""/>
Figure 2 - CodeWarrior project panel


The Processor Expert was originally developed as a stand-alone product. Now, to provide a more efficient and comfortable development environment, we integrated it as a plug-in to the CodeWarrior.

The CodeWarrior IDE menu contains a new menu item named Processor Expert. The Processor Expert plug-in generates code from the MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/embeddedbeans.html">Embedded Beans and CodeWarrior manages the project files and the compilation and debugging processes.

MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/images/peintro.png" width="496" alt=""/>
Figure 1 - CodeWarrior IDE with Processor Expert plug-in active

How to create a new project

See the chapter MSITStore:C:\Program%20Files\Freescale\CodeWarrior%20for%20HCS12%20V4.7\Help\ProcessorExpert.chm::/tutorial.html">Tutorials or Quick Start for step-by-step instructions on how to start a new Processor Expert project.

Compiler and Linker settings

To set the compiler and linker options, select the command {TargetName} Settings in the "Edit" menu in the Code Warrior main menu. You can find linker and compiler specific settings in the "Target" and "Linker" folders. The command {TargetName} Settings is not available when no project is open.

Where to find source code and user modules

Processor Expert generates all drivers during the code design process. The generated files are automatically inserted into the active (default) target in the CodeWarrior project. Generated files corresponding to Embedded Beans can be accessed in the "Generated Code" folder in the "Files" tab in the Code Warrior project window.
Other files, intended to be modified by users, are generated into the "User modules" folder in the "Files" tab in the Code Warrior Project window. A user can also add his/her own specific source code files into this folder. If the linker setting of the default target does not match the CPU in the Processor Expert project, the user is asked whether to automatically set the correct linker settings in the default target or to create a new target with correct linker settings. In the latter case the files will be generated in the new target (more information about the CodeWarrior Project panel can be found in the CodeWarrior documentation). For more information on generated files please see the chapter Code Generation.


Figure 2 - CodeWarrior project panel


返回列表