32
Chapter 4. Programming
Using the MS-DOS Command Line Tools
Use the following command line to compile the BLINKY example program:
C251 BLINKY.C DEBUG MODSRC
Use the following command line to link the BLINKY example program for use
with the 251 monitor:
L251 BLINKY.OBJ RESERVE (0FF0003H-0FF0005H, 0FF003BH-0FF003DH,
0FF007BH-0FF007DH)
Using the Windows-Based Tools
This section leads you step-by-step through the process of creating the BLINKY
example program and testing it using the µVision IDE and dScope debugger.
Using µVision to Create the BLINKY Program
To create the BLINKY example program using µVision, you need to perform the
following steps:
n
Create the BLINKY.C source file.
n
Create the BLINKY project file.
n
Include BLINKY.C in the project.
n
Set the C251 compiler options for the project.
n
Set the L251 linker options for the project.
n
Set the path specifications for the 251 tools (if necessary).
n
Set the make options for the project.
n
Build the project.
Each of these steps is described in detail below.
Содержание MCB251
Страница 6: ...vi Contents...
Страница 18: ...12 Chapter 2 Setup...
Страница 24: ...18 Chapter 3 Hardware Schematics...
Страница 25: ...MCB251 Evaluation Board User s Guide 19...
Страница 26: ...20 Chapter 3 Hardware...
Страница 27: ...MCB251 Evaluation Board User s Guide 21...
Страница 28: ...22 Chapter 3 Hardware Printed Board Assembly...