Build tools use a tool directory for configuring and locating its generated files. For Microcontrollers V10.x build tools, the tool directory is the prog folder, and is located in the CWInstallDir\MCU folder, where CWInstallDir is the directory in which the CodeWarrior software is installed.
A build tool such as the Compiler requires information from configuration files. There are two types of configuration data:
Global data is common to all build tools and projects, and includes data for each build tool, such as the directory path for recent project listings. All tools may store some global data in a mcutools.ini file. Each tool looks for this file in the tool directory first, then in the Microsoft Windows installation directory (for example, C:\WINDOWS). The following listing lists the typical locations for a global configuration file.
<CWInstalldir>\MCU\prog\mcutools.ini - #1 priority C:\WINDOWS\mcutools.ini - used if there is no mcutools.ini file above
The Compiler uses the initialization file in the prog folder if you start the tool from the prog folder. That is:
<CWInstallDir>MCU\prog\mcutools.ini
The compiler uses the initialization file in the Windows directory if the tool is started outside the prog folder. That is, the tool uses C:\WINDOWS\mcutools.ini.
For information about entries for the global configuration file, refer to the Global Configuration File Entries topic in the Appendices.
Local data files can be used by any build tool for a particular project. These files are typically stored in a project folder. For information about local configuration file entries, refer to the Local Configuration File Entries topic in the Appendices.
To configure the Compiler, proceed as follows:
The Tip of the Day dialog box closes.
The Saving Configuration as dialog box appears.
The folder becomes the project directory. The project directory folder is often referred to as the current directory.
The project directory folder now contains the newly-created project.ini configuration file. The project configuration file contains a copy of the [CRS08_Compiler] portion of the project.ini file in the build tools prog folder. If a build tool modifies any project option, the changes are specified in appropriate section of the project configuration file.
The compiler displays the RS08 Compiler Option Settings dialog box.
The RS08 Compiler Option Settings dialog box closes.
The compiler is now configured with the selected settings.