COnTEnTS
S5U1C17001C ManUal
EPSOn
iii
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
– Contents –
1.1 Features ...........................................................................................................................1-1
1.2 Outline of Software Tools .................................................................................................1-2
2.1 Working Environment .......................................................................................................2-1
2.2 Installation Method ...........................................................................................................2-2
3.1 Software Development Flow.............................................................................................3-1
3.2 Software Development Using the IDE ..............................................................................3-4
3.3 Tutorial 1 (Basic Operations, from Project Creation to ROM mask Data) .........................3-8
3.3.1 Starting the IDE .................................................................................................3-8
3.3.2 Creating a Project .............................................................................................3-10
3.3.3 Creating, Adding, and Editing a Source File .....................................................3-14
3.3.4 Editing the Build Options and the Linker Script.................................................3-20
3.3.5 Building a Program ...........................................................................................3-28
3.3.6 Debugging a Program .......................................................................................3-29
3.3.7 Creating ROM Data ..........................................................................................3-43
3.4.1 Creating a Project .............................................................................................3-45
3.4.2 Importing Source Files ......................................................................................3-47
3.4.3 Disabling the GNU17 File Builder .....................................................................3-49
3.4.4 Setting and Correcting the Makefile ..................................................................3-50
3.4.5 Building a Project ..............................................................................................3-51
3.4.6 Starting the Debugger .......................................................................................3-51
3.5 Tutorial 3 (Importing an IDE Project) ...............................................................................3-53
3.6 Tutorial 4 (How to Use ES-Sim17) ..................................................................................3-56
3.6.1 Settings Required for Launching ES-Sim17 .....................................................3-56
3.6.2 How to Launch ES-Sim17 in the Existing Project .............................................3-59
3.7 Debugging Environment ..................................................................................................3-66
3.8 Sections and Linkage ......................................................................................................3-67
4.1 File Format and File Name ...............................................................................................4-1
4.2 Grammar of C Source ......................................................................................................4-2
4.2.1 Data Type ...........................................................................................................4-2
4.2.2 Library Functions and Header Files ...................................................................4-3
4.2.3 In-line Assemble ................................................................................................4-4
4.2.4 Prototype Declarations.......................................................................................4-4
4.3.1 Statements .........................................................................................................4-5
4.3.2 Notations of Operands .......................................................................................4-9
4.3.3 Extended Instructions .......................................................................................4-11
4.3.4 Preprocessor Directives ....................................................................................4-12
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...