Building A Project; Starting The Debugger - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

Correcting the makefile contents
To use a makefile not created with the IDE, you may need to change the path written in it. If it contains a rela-
tive path, change it to a cygwin format path to allow file referencing from the project directory as well. You can
use the IDE editor to make changes in the file.
Example: Before change: SRCDIR=
After change: SRCDIR=/cygdrive/c/EPSON/gnu17/sample/S1C17common/simulator

3.4.5 Building a Project

After setting the makefile, you can execute a build process as you would normally do. There is no need to set build
options or to edit the linker script file.
Step 19: Select the project "mymake_sample" name from the [Navigator] or the [C/C++ Projects] view.
Step 20: Select [Build Project] from the [Project] menu.
When the build command is selected this way, make.exe is executed with a specified makefile to generate the ex-
ecutable format object file "stdio.elf". (Since we are using a makefile that is not automatically generated, the
object file is not named after the project name.)

3.4.6 Starting the Debugger

As the last step in Tutorial 2, described below is the method for making the necessary settings to execute the pre-
pared command file at debugger startup.
Step 21: Select [External Tools] > [External Tools Configurations...] from the [Run] menu to display the [External
Tools Configurations] dialog box.
Step 22: Select [GDB17 Launch for mymake_sample] from the list in the dialog box and display the page for the
[Main] tab.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
3 SOfTWarE DEVElOPMEnT PrOCEDUrES
..
EPSOn
3
SoftDev
3-51

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Table of Contents