![XMOS XK-XMP-64 Quick Start Manual Download Page 6](http://html2.mh-extra.com/html/xmos/xk-xmp-64/xk-xmp-64_quick-start-manual_3536534006.webp)
XMOS
5
• Run the following command to start the Tools:
xde
• Click OK when prompted to select a workspace.
• Download the XK-XMP-64 Tutorial from:
The tutorial explains how to write programs that run on the XK-XMP-
64.
5
Install a patch for the 10.4 tools
The XMOS website hosts a ZIP archive containing the XK-XMP-64 configura-
tion file. Please download the ZIP archive from
(“Tools patch” under the Software header). Open the ZIP archive and move the
XK-XMP-46.xn
file to the folder that contains all XN files:
•
/Applications/XMOS 10.4/configs
on MacOSX
•
/home/user/XMOS 10.4/configs
on Linux
•
Program Files/XMOS/Desktop Tools/10.4/configs
on
Windows
6
Compile and Run a Program
You should now be able to compile and run a program. Type in the following
program into a file
main.xc
:
#include <print.h>
#include <xs1.h>
out port led = XS1_PORT_1E;
main() {
printstr("Hello world\n");
led <: 1;
while(1) { }
}
Compile this program using:
XK-XMP-64 Q
UICK
S
TART
G
UIDE
(10.4)
2010/05/13