T-Engine SH7727 (2002)

T-Engine SH7727

T-Engine SH7727 is a development kit for T-Engine. T-Engine project was launched with the aim of standardizing the development platform of embedded systems in Japan.

T-Engine

Item Description
Product T-Engine/SH7760
CPU Renesas SH7727 (SH3-DSP, 96MHz)
RAM 64MB
Flash ROM 8MB
LCD Touch Panel TFT LCD 240×320
IF USB PCMCIA RS232C IrDA
LAN 100BASE-TX/10BASE-T
Size 120mm x 75mm (CPU Board) 120mm x 75mm (LCD Board) 101mm x 75mm (Debug Board)

Configuration of Expat for T-Engine Platform

mUPnP for C++ and mUPnP for C supports T-Engine platforms too. However you have to install a XML parser, expat, to T-Engine platform manually as the following .

$ cd /usr/local
$ tar xvfz expat-1.95.8.tar.gz
$ export EXPATROOT=/usr/local/expat-1.95.8
$ vi Makefile
  ......
EXPATSRC = $(EXPATROOT)/lib/xmlparse.c $(EXPATROOT)/lib/xmlrole.c $(EXPATROOT)/lib/xmltok.c
#       $(EXPATROOT)/lib/xmltok_ns.c
#       $(EXPATROOT)/lib/xmltok_impl.c   ......
  ......
SRC = ...... $(EXPATSRC)
  ......
CFLAGS += -DHAVE_MEMMOVE
  ......
</verbatim>

---+++ Configuration of !CppUnit for T-Engine Platform

I have checked some tiny test unit libraries such as !CppUnit-x and !CUnit for T-Engine platform, but I have ported the standard test unit library to for T-Engine platform finally as the following.

<verbatim>
$ cd /usr/local
$ tar xvfz arc/cppunit-1.10.2.tar.gz
$ cd cppunit-1.10.2/
$ ./configure
$ vi include/cppunit/config-auto.h
  --- config-auto.h.org   2005-03-24 10:29:04.000000000 +0900
  +++ config-auto.h       2005-03-24 10:29:34.000000000 +0900
  @@ -58,7 +58,7 @@

   / define if the compiler supports Run-Time Type Identification /
   #ifndef CPPUNIT_HAVE_RTTI
  -#define CPPUNIT_HAVE_RTTI  1
  +/ #define CPPUNIT_HAVE_RTTI  1 /
   #endif

   / Define if you have the shl_load function. /
$ export CPPUNITROOT=/usr/local/cppunit-1.10.2
$ vi Makefile
  ......
  USE_CPP = 1
  REL_TYP=q
  ......
  CPPFLAGS += -D__USE_THREADS
  CPPFLAGS += -D__USE_IOSTREAMS
  ......
  CFLAGS += -I$(CPPUNITROOT)/include
  ......
  LOADLIBES += -lstlport
  ......
CPPUNITSRC =  
$(CPPUNITROOT)/src/cppunit/AdditionalMessage.cpp
$(CPPUNITROOT)/src/cppunit/Asserter.cpp
$(CPPUNITROOT)/src/cppunit/BeOsDynamicLibraryManager.cpp
$(CPPUNITROOT)/src/cppunit/BriefTestProgressListener.cpp
$(CPPUNITROOT)/src/cppunit/CompilerOutputter.cpp
$(CPPUNITROOT)/src/cppunit/DefaultProtector.cpp
$(CPPUNITROOT)/src/cppunit/Exception.cpp
$(CPPUNITROOT)/src/cppunit/Message.cpp
$(CPPUNITROOT)/src/cppunit/Protector.cpp
$(CPPUNITROOT)/src/cppunit/ProtectorChain.cpp
$(CPPUNITROOT)/src/cppunit/RepeatedTest.cpp
$(CPPUNITROOT)/src/cppunit/ShlDynamicLibraryManager.cpp
$(CPPUNITROOT)/src/cppunit/SourceLine.cpp
$(CPPUNITROOT)/src/cppunit/StringTools.cpp
$(CPPUNITROOT)/src/cppunit/SynchronizedObject.cpp
$(CPPUNITROOT)/src/cppunit/Test.cpp
$(CPPUNITROOT)/src/cppunit/TestAssert.cpp
$(CPPUNITROOT)/src/cppunit/TestCase.cpp
$(CPPUNITROOT)/src/cppunit/TestCaseDecorator.cpp
$(CPPUNITROOT)/src/cppunit/TestComposite.cpp
$(CPPUNITROOT)/src/cppunit/TestDecorator.cpp
$(CPPUNITROOT)/src/cppunit/TestFactoryRegistry.cpp
$(CPPUNITROOT)/src/cppunit/TestFailure.cpp
$(CPPUNITROOT)/src/cppunit/TestLeaf.cpp
$(CPPUNITROOT)/src/cppunit/TestNamer.cpp
$(CPPUNITROOT)/src/cppunit/TestPath.cpp
$(CPPUNITROOT)/src/cppunit/TestPlugInDefaultImpl.cpp
$(CPPUNITROOT)/src/cppunit/TestResult.cpp
$(CPPUNITROOT)/src/cppunit/TestResultCollector.cpp
$(CPPUNITROOT)/src/cppunit/TestRunner.cpp
$(CPPUNITROOT)/src/cppunit/TestSetUp.cpp
$(CPPUNITROOT)/src/cppunit/TestSuccessListener.cpp
$(CPPUNITROOT)/src/cppunit/TestSuite.cpp
$(CPPUNITROOT)/src/cppunit/TestSuiteBuilderContext.cpp
$(CPPUNITROOT)/src/cppunit/TextOutputter.cpp
$(CPPUNITROOT)/src/cppunit/TextTestProgressListener.cpp
$(CPPUNITROOT)/src/cppunit/TextTestResult.cpp
$(CPPUNITROOT)/src/cppunit/TextTestRunner.cpp
$(CPPUNITROOT)/src/cppunit/TypeInfoHelper.cpp
$(CPPUNITROOT)/src/cppunit/XmlDocument.cpp
$(CPPUNITROOT)/src/cppunit/XmlElement.cpp
$(CPPUNITROOT)/src/cppunit/XmlOutputter.cpp
$(CPPUNITROOT)/src/cppunit/XmlOutputterHook.cpp

CPPUNITSRC_NOUSE =  
$(CPPUNITROOT)/src/cppunit/DllMain.cpp
$(CPPUNITROOT)/src/cppunit/DynamicLibraryManager.cpp
$(CPPUNITROOT)/src/cppunit/DynamicLibraryManagerException.cpp
$(CPPUNITROOT)/src/cppunit/PlugInManager.cpp
$(CPPUNITROOT)/src/cppunit/PlugInParameters.cpp
$(CPPUNITROOT)/src/cppunit/UnixDynamicLibraryManager.cpp
$(CPPUNITROOT)/src/cppunit/Win32DynamicLibraryManager.cpp
  ......
  SRC = ...... $(CPPUNITSRC)
  ......