Download Eddy-DK v2.5.1.1 Programmer Guide

Transcript
Table of Contents
Chapter 1.
1.1
1.2
1.3
1.4
1.5
About this document ........................................................................................................................ 5
Who should read this document? .................................................................................................... 5
Document organization .................................................................................................................... 6
Eddy-DK Related Documents .......................................................................................................... 7
Technical Support ............................................................................................................................ 8
Chapter 2.
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
3
Development Environment....................................................................................... 80
Source code folder structure ......................................................................................................... 80
Language ........................................................................................................................................ 81
Development Environment ............................................................................................................. 81
Installing on Windows OS .............................................................................................................. 81
Installation of Cygwin ..................................................................................................................... 82
Configuration of Windows Environment Variables ........................................................................ 84
Installation of Toolchain ................................................................................................................. 84
Installation of Eddy DK Source ...................................................................................................... 85
Installing on Linux........................................................................................................................... 85
Installation of Toolchain ................................................................................................................. 86
Installation of Eddy DK Source ...................................................................................................... 86
Removing Development Environment ............................................................................................ 87
Removing Windows Development Environment ............................................................................ 87
Removing Linux Development Environment .................................................................................. 87
Chapter 4.
4.1
4.2
4.3
Getting Started.......................................................................................................... 9
What can you do with Eddy DK ?.................................................................................................... 9
Eddy-DK Package Contents ............................................................................................................ 9
Eddy-CPU v2.1 / v2.5..................................................................................................................... 10
Eddy-DK v2.1 ................................................................................................................................. 27
Eddy-S4M v2.1 / v2.5..................................................................................................................... 46
Eddy-S4M-DK v2.1 ........................................................................................................................ 58
Eddy-S4M-JiG v2.1 ........................................................................................................................ 68
Eddy-WiFi v3.0 ............................................................................................................................... 72
Eddy-BT v2.1 .................................................................................................................................. 74
Eddy-CPU/mp v2.5 ........................................................................................................................ 76
Eddy-CPU/mp 32bit v2.5 ............................................................................................................... 78
Chapter 3.
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
Introduction ............................................................................................................... 5
Compiling of Application Program ........................................................................... 88
Program Type ................................................................................................................................. 88
Writing Application Program .......................................................................................................... 91
Writing Makefile .............................................................................................................................. 91