beautypg.com
3
Table of Contents
Chapter 1.
Introduction ................................................................................................................. 5
1.1
About this document ........................................................................................................................ 5
1.2
Who should read this document? .................................................................................................... 5
1.3
Document organization .................................................................................................................... 6
1.4
Eddy-DK Related Documents .......................................................................................................... 7
1.5
Technical Support ............................................................................................................................ 9
Chapter 2.
Getting Started ......................................................................................................... 10
2.1
What can you do with Eddy DK ? .................................................................................................. 10
2.2
Eddy-DK Package Contents .......................................................................................................... 10
2.3
Eddy-CPU v2.1 ............................................................................................................................... 11
2.4
Eddy-DK v2.1 ................................................................................................................................. 25
2.5
Eddy-S4M v2.1 ............................................................................................................................... 40
2.6
Eddy-S4M-DK v2.1 ........................................................................................................................ 50
2.7
Eddy-S4M-JiG v2.1 ........................................................................................................................ 59
Chapter 3.
Development Environment ........................................................................................ 63
3.1
Source code directory structure .................................................................................................... 63
3.2
Language ........................................................................................................................................ 64
3.3
Development Environment ............................................................................................................. 64
3.4
Installing on Windows OS .............................................................................................................. 64
3.5
Installation of Cygwin ..................................................................................................................... 64
3.6
Configuration of Windows Environment Variables ........................................................................ 67
3.7
Installation of Toolchain ................................................................................................................. 67
3.8
Installation of Eddy DK Source ...................................................................................................... 67
3.9
Installing on Linux ........................................................................................................................... 68
3.10
Installation of Toolchain ................................................................................................................. 68
3.11
Installation of Eddy DK Source ...................................................................................................... 69
3.12
Removing Development Environment ............................................................................................ 69
3.13
Removing Windows Development Environment ............................................................................ 69
3.14
Removing Linux Development Environment .................................................................................. 69
Chapter 4.
Compiling of Application Program ............................................................................ 70
4.1
Program Type ................................................................................................................................. 70
4.2
Writing Application Program .......................................................................................................... 72
4.3
Writing Makefile .............................................................................................................................. 72
4.4
Application Program Compile ........................................................................................................ 73
4.5
Compiling on Windows .................................................................................................................. 73
4.6
Compiling on Linux ......................................................................................................................... 73
4.7
Compiling with LemonIDE .............................................................................................................. 74