Setting the PATH Environment Variable

The PATH variable should include the paths for your CodeWarrior tools, shown in Example of setting PATH. Toolset represents the name of the folder that contains the command line tools for your build target.

Listing 1. Example of setting PATH

Set CWFolder=Replace this text with the CodeWarrior installation path on the host system.

set PATH=%PATH%;%CWFolder%\MCU\Bin;%CWFolder%\MCU\PA_Tools\Command_Line_Tools