Porting Libse To A New Target Platform - Epson S1D13706 Technical Manual

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Page 96

10.3 Porting LIBSE to a new target platform

S1D13706
X31B-G-003-03
Building Epson applications like a simple HelloApp for a new target platform requires the
following:
• HelloApp code.
• 13706HAL library.
• LIBSE library which contains target specific code for embedded platforms.
HelloApp Source code
LIBSE for embedded platforms
13706HAL Library
Figure 10-1: Components needed to build 13706 HAL application
For example, when building HELLOAPP.EXE for the x86 windows 32-bit platform, you
need the HELLOAPP source files, the 13706HAL library and its include files, and some
Standard C library functions (which in this case would be supplied by the compiler as part
of its run-time library). As this is a 32-bit windows .EXE application, you do not need to
supply start-up code that sets up the chip selects or interrupts, etc... What if you wanted to
build the application for an SH-3 target, one not running windows?
Before you can build that application to load onto the target, you need to build a C library
for the target that contains enough of the target specific code (like putch() and getch()) to
let you build the application. Epson supplies the LIBSE for this purpose, but your compiler
may come with one included. You also need to build the 13706HAL library for the target.
This library is the graphics chip dependent portion of the code. Finally, you need to build
the final application, linked together with the libraries described earlier. The following
examples assume that you have a copy of the complete source code for the S1D13706
utilities, including the makefiles, as well as a copy of the GNU Compiler v2.8.1 for Hitachi
SH3. These are available on the Epson Electronics America Website at
www.eea.epson.com.
Epson Research and Development
Vancouver Design Center
HelloApp
Programming Notes and Examples
Issue Date: 01/02/23

Advertisement

Table of Contents
loading

Table of Contents