Global Initialization File (mcutools.ini)

All tools store some global data into the file mcutools.ini. The tool first searches for the mcutools.ini file in the directory of the tool itself (path of the executable). If there is no mcutools.ini file in this directory, the tool looks for an mcutools.ini file in the MS Windows installation directory (For example, C:\WINDOWS).

Listing: Typical Global Initialization File Locations


C:\WINDOWS\mcutools.ini 
CWInstallDir\MCU\prog\mcutools.ini 

If a tool is started in the CWInstallDir\<MCU>\prog directory, the project file that is used is located in the same directory as the tool ( CWInstallDir\MCU\prog\mcutools.ini).

If the tool is started outside the CWInstallDir\MCU\prog directory, the project file in the Windows directory is used ( C:\WINDOWS\mcutools.ini).

Global Configuration File Entries documents the sections and entries you can include in the mcutools.ini file.