Freescale Semiconductor
19
Figure 15. Example Editor Window - main.c
c)
Make changes to the contents of main.c file, if desired.
d)
If you make changes to main.c, from IDE main menu bar, select File > Save.
3)
Add files (if appropriate).
a)
Highlight the Sources folder.
b)
From the IDE main menu bar, select Project; a menu will appear.
c)
Select Add Files. A dialog box will appear.
d)
Navigate to the directory that contains the file you want to add.
e)
Highlight the filename of the file you want to add to your project.
f)
Click Open — the Add Files dialog box will appear.
g)
Check the checkbox for each build target to which the file applies.
h)
Click OK — the Add Files dialog box closes. In the Project window, the filename of added file
will appear under the Sources folder.
4)
Build project.
a)
From the IDE main menu bar, select Project.
b)
Select Make. IDE builds (assembles, compiles, and links) project. Error and warnings window
will open and show error messages and warning messages, if appropriate.
6.2 Debugging your Application
The following steps explain how to establish communication and upload your application software to the
application module. This will allow you to debug your application through CodeWarrior True-Time
Simulator & Real-Time Debugger using the BDM pod interface on the project board. “Software Setup”
and “Hardware Setup” sections described earlier must be completed before executing the steps in this
section.