|
发表于 2009-11-4 12:30:23
|
显示全部楼层
IAR早就帮你写好了。
打开你的IAR安装路径,如我的IAR for ARM v5.4
C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\examples\ST\STM32F10x\IAR-STM32-SK\Dhrystone
工程Readme
########################################################################
#
# Dhrystone.eww
#
# $Revision: 30765 $
#
########################################################################
DESCRIPTION
===========
This example project shows how to use the IAR Embedded Workbench for ARM
to develop code for the IAR-STM32-SK evaluation board.
It runs dhrystone test bench. The results are showed in SPY Terminal I/O
window (Veiw->Terminal I/O).
COMPATIBILITY
=============
The Dhrystone example project is compatible with IAR-STM32-SK
evaluation board. By default, the project is configured to use the
J-Link JTAG/SWD interface.
CONFIGURATION
=============
Make sure that the following jumpers are correctly configured on the
IAR STM32-SK evaluation board:
Jumpers:
PWR_SEL - depending of power source
GETTING STARTED
===============
1) Start the IAR Embedded Workbench for ARM.
2) Select File->Open->Workspace...
Open the following workspace:
<installation-root>\arm\examples\ST\
STM32F10x\IAR-STM32-SK\Dhrystone\Dhrystone.eww
3) Run the program.
The Dhrystone application is downloaded to Embedded Flash memory
on the evaluation board and executed.
我没跑过这个例程。 |
|