phyCORE-ADuC812 QuickStart Instructions
48
© PHYTEC Meßtechnik GmbH 2002 L-462e_2
3.8.2
Modifying the Example Source
•
Double-click the file Hello2.c from within the project window.
•
Use the editor to modify the printf command:
printf ("\x1AHello World\n")
to
printf ("\x1APHYTEC... Stick It In!\n")
•
Save the modified file under the same name Hello2.c.
3.8.3
Setting Tool Chain Options
•
Open the Project|Options for Target... menu and change the
default settings to the correct values as shown in section 3.5. This
includes settings for the clock frequency of your phyCORE
module, the memory model (make sure “Large: variables in
XDATA” is configured) and the off-chip memory.
•
Modify the default options for the output file by selecting the
Create HEX File checkbox in the Project|Options for
Target....|Output tab. This will automatically create a hexfile for
download to the phyCORE-ADuC812 after compiling.
3.8.4
Building the New Project
•
Build the project.
•
If any source file in the project contains errors, they will be shown
in an error dialog box on the screen. Use the editor to correct the
error(s) in the source code, save the file and (re-)build the project.
If there are no errors, the code is assembled and linked and the
executable code is ready to be downloaded to the board.
Содержание phyCORE-ADuC812
Страница 78: ...phyCORE ADuC812 QuickStart Instructions 74 PHYTEC Meßtechnik GmbH 2002 L 462e_2 ...
Страница 84: ...phyCORE ADuC812 QuickStart Instructions 80 PHYTEC Meßtechnik GmbH 2002 L 462e_2 ...
Страница 86: ...Published by PHYTEC Meßtechnik GmbH 2002 Ordering No L 462e_2 Printed in Germany ...