EDP-CM-LPCxxxx Getting Started V3.11
Electrocomponents plc Page 5
3.
Build and run ‘Hello World’
3.1 Load the Project
•
Plug
the
dongle
into
the
CM
module
noting
the
orientation
in
the
picture
above.
•
Connect
the
dongle
to
a
USB
port
on
the
host
computer.
•
Turn
on
power
to
the
Base
Board.
•
Download
the
‘EDP
LPCxxxx
Hello
World’
folder
from
the
EDP
web
site
to
your
C:
drive.
•
Run
Keil
µVision
4
on
the
host
computer.
•
Click
on
Open
Project
from
the
Project
menu
and
navigate
to
the
‘EDP
LPCxxxx
Hello
World’
folder.
Double
click
on
‘Hello_World’
to
load
the
project
files.
•
The
screen
will
now
appear
as
below:
Note
that
the
folder
already
contains
all
the
necessary
source
code
files
together
with
the
Build
files
produced
by
the
IDE.
To
demonstrate
the
procedure
we
will
now
perform
the
Build
and
Link
operations.
3.2 Build the Project
•
Click
the
Rebuild
button on the Build toolbar (see picture below). The various files are
compiled and linked, progress being reported in the Build Output pane.
•
If there are any compilation errors they will be reported here and linking will not take place.
Double clicking on a particular error message will take you to the offending line of source code
in the edit pane above.