Table Of Contents - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.2)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

1 General ..................................................................................................................................................... 1-1
1.1
Features .............................................................................................................................................. 1-1
1.2
Outline of Software Tools ...................................................................................................................... 1-2
2 Source Files ............................................................................................................................................. 2-1
2.1
File Format and File Name ................................................................................................................... 2-1
2.2
Grammar of C Source .......................................................................................................................... 2-2
2.2.2 Library Functions and Header Files ...................................................................................... 2-3
2.2.3 In-line Assemble ................................................................................................................... 2-4
2.2.4 Prototype Declarations .......................................................................................................... 2-4
2.3
Grammar of Assembly Source .............................................................................................................. 2-5
2.3.2 Notations of Operands .......................................................................................................... 2-9
2.3.3 Extended Instructions ......................................................................................................... 2-11
2.3.4 Preprocessor Directives ...................................................................................................... 2-12
2.4
Precautions for Creation of Sources ................................................................................................... 2-13
3 GNU17 IDE ............................................................................................................................................... 3-1
3.1
Overview .............................................................................................................................................. 3-1
3.1.2 Some Notes on Use of the IDE ............................................................................................. 3-1
3.2
Starting and Quitting the IDE ................................................................................................................ 3-2
3.2.1 Starting the IDE..................................................................................................................... 3-2
3.2.2 Quitting the IDE..................................................................................................................... 3-2
3.3
Projects .............................................................................................................................................. 3-3
3.3.1 What Is a Project?................................................................................................................. 3-3
3.3.2 Creating a New Project ......................................................................................................... 3-3
3.3.3 Creating and Adding a Source File ....................................................................................... 3-4
3.3.4 Interrupt Vector and Boot Processing Descriptions............................................................... 3-5
3.3.5 Importing an Existing Project ................................................................................................ 3-6
3.3.6 Importing a GNU17 Version 2 Project ................................................................................... 3-7
3.4
Setting Project Properties ..................................................................................................................... 3-8
3.4.1 Setting GNU17 Project Properties ........................................................................................ 3-8
3.4.2 Setting Environment Variables .............................................................................................. 3-9
3.4.3 Setting Compiler Path ......................................................................................................... 3-11
3.4.4 Setting Compiler Options .................................................................................................... 3-11
3.4.5 Setting Linker Options ......................................................................................................... 3-12
3.4.6 Setting Assembler Options ................................................................................................. 3-12
3.5
Building a Program ............................................................................................................................. 3-14
3.5.1 Editing a Linker Script ......................................................................................................... 3-14
3.5.2 Executing a Build Process .................................................................................................. 3-15
3.5.3 Clean and Rebuild .............................................................................................................. 3-15
3.5.4 Static Stack Usage Analysis Function ................................................................................. 3-16
3.6
Debugging the Program...................................................................................................................... 3-17
3.6.1 GDB Command File ............................................................................................................ 3-17
3.6.2 Setting Standard Input/Output ............................................................................................ 3-18
3.6.3 Using the Debugger ............................................................................................................ 3-19
3.6.4 Setting the Debug Configuration ......................................................................................... 3-20
3.7
Files Generated in a Project by the IDE.............................................................................................. 3-21
4 C Compiler ............................................................................................................................................... 4-1
S5U1C17001C Manual
(Rev. 1.0)
- Contents -
....................................................................................................................... 2-2
....................................................................................................................... 2-5
........................................................................................................................... 3-1
Seiko Epson Corporation
Contents
iii

Advertisement

Table of Contents
loading

Table of Contents