UG-1926
Rev. 0 | Page 14 of 20
3.
After setting the
Floating point settings
options, run the
FPU example program. Running the debug mode causes
the
Output
section in the
Terminal I/O
window to display
fractional values of the variables, as shown in Figure 27.
Running the Keil FPU Program
Perform the following steps before running the FPU example
program from the Keil IDE (included on the
installer).
1.
After opening the Keil IDE, click the
Flash
dropdown
menu, and select the
Configure Flash Tools
option (see
25
84
4
-01
3
Figure 26. Keil
Flash
Dropdown Menu Options
2.
Selecting the
Configure Flash Tools
option opens the
window shown in Figure 28. Click the
Target
tab, and
ensure the
Floating Point Hardware
dropdown box is set
to the
Single Precision
option, as shown in Figure 28.
25
844-
012
Figure 27. IAR FPU Example Program Output
2584
4-
01
4
Figure 28. Keil General Options