Hardware Reference
In-Depth Information
Figure E.4 Creating a new file for entering a program
Step 4
Create a new project by pressing the File menu, moving the mouse over New Project . . .
and clicking on it. The resultant screen is shown in Figure E.5. The user will be asked
to enter the project name as shown in Figure E.6. In this tutorial, the name count is
entered. After the project name is entered, one should also click on OK. As shown in
Figure E.7, the screen has changed to ask the user to select the directory to save the
project information. One should select an appropriate directory and click on the save
button on the screen. After this, another popup dialog box appears on the screen (shown
in Figure E.8) that will allow the user to select the Hardware Profile and turn on/off
compiler switches. The default compiler switches are acceptable. This tutorial selects
the Dragon12 demo board as its hardware profile. This tutorial does not use GNU
Embedded Library. Therefore, the user should select No for this choice (in the middle
of the dialog box). After the project options are set properly, click on OK. The screen is
changed to that in Figure E.9.
Step 5
Add files to the newly created project. Press the Project menu (shown in Figure E.10) and
select Add to project. . . . A popup dialog box (shown in Figure E.11) appears to allow the
user to enter the name of the file to be added to the project. Since the project and the files
in the project are often stored in the same directory, one can simply click on the file name
( hcs12_timer ) and then click on Open in Figure E.11 to complete the add file operation.
The screen changes to that in Figure E.12 after adding hcs12_timer.c to the project. Please
remember that EGNU IDE requires all the C files belong to the same project to be stored
in the same directory.
Search WWH ::




Custom Search