[Top] [Prev] [TOC]
[Next] [Bottom]
Table of Contents
Porting the TargetRTS for C workbook
- 1.0 Simple model execution phase
- 1.1 Environment setup
- 1.2 Choose names
- 1.3 Create directories
- 1.4 Create and edit Perl scripts
- 1.5 Create and edit makefiles
- 1.6 Create and edit C source and header files
- 1.7 Compile the TargetRTS for your target
- 1.8 Compile and run the C_HelloWorld model for your target
- 2.0 Debug phase
- 2.1 Modify $RTS_HOME\target\<TargetName>\RTTarget.h
- 2.2 Debug run-time testing
- 3.0 Target Observability phase
- 3.1 Modify $RTS_HOME\target\<TargetName>\RTTarget.h
- 3.2 Target Observability run-time testing
- 4.0 Threaded phase
- 4.1 Creating the multi-threaded libraries
- 4.2 Threaded phase run-time testing
- 5.0 Porting the error parser phase
- 5.1 If the compilation platform does not have Perl
- 6.0 Porting timers phase
- 6.1 Local timers
- 6.2 Actor timers
Introduction
Before starting the port
- OS knowledge and experience
- Tool chain functionality
- OS capabilities
- Simple non-ObjecTime program on target
- TCP/IP functionality
- Floating point operations
- Standard input/output functionality
- Debugging
- Training
- What to do before calling ObjecTime support
Porting the TargetRTS
- Phases of a port
- Choose a platform name
- Target name
- Libset name
- Create a setup script
- TargetRTS makefiles
Porting the TargetRTS for C++
- TargetRTS configuration definitions
- Platform-specific implementation
- Adding new files to the TargetRTS
Porting the TargetRTS for C
- C TargetRTS configuration definitions
- Platform-specific implementation
- Adding new files to the C TargetRTS
- C TargetRTS run-time semantics
- Implementing timer services in the C TargetRTS
Modifying the error parser
- Setting the compiler vendor in the libset.mk file
- Reusing an existing error parser
- Creating a new error parser
Testing the TargetRTS
- Testing the TargetRTS for C++
- Testing the TargetRTS for C
Tuning the TargetRTS
- Disabling TargetRTS features for performance
- Target compiler optimizations
- Target operating system optimizations
- Specific TargetRTS performance enhancements
Common problems and pitfalls
- Problems and pitfalls with target toolchains
- Problems and pitfalls with TargetRTS/RTOS interaction
- Problems and pitfalls with target TCP/IP interfaces
TargetRTS for C++ porting example
- Introduction
- Choosing the platform name
- Create setup script
- Create makefiles
- TargetRTS configuration definitions
- Code changes to TargetRTS classes
- Building the new TargetRTS
TargetRTS for C Porting example
- Introduction
- Choosing the platform name
- Create setup script
- Create makefiles
- TargetRTS configuration definitions
- Code changes to TargetRTS classes
- Building the new TargetRTS
Index
[Top] [Prev] [TOC]
[Next] [Bottom]
support@objectime.com
Copyright © 1998, ObjecTime Limited. All rights
reserved.