文件名称:Nucleus C++.pdf
文件大小:4.94MB
文件格式:PDF
更新时间:2013-01-11 07:04:03
Nucleus C++.pdf
Nucleus C++ is designed for use as a C++ library. Services used inside applications are extracted from the Nucleus C++ library and combined with the application objects to produce the complete image. This image may be downloaded to the target system or placed in ROM on the target system. The steps for using Nucleus C++ are described in the following generic form: § Make changes, if necessary, to the low-level system initialization file, INT (note that this file is usually delivered in assembly language form and its extension is development tool specific). § Define the “InitializeCppApplication()” function which is executed by Nucleus C++ prior to starting the system. Note that the file “NUCPP.H” must be included in order to make Nucleus C++ service calls. § Define application tasks. If Nucleus C++ services are used, the file “NUCPP.H”must be included. § Compile and/or assemble all application software including the low-level system initialization file INT. § Link INT and all application object files with the appropriate Nucleus C++ library (see Configuration Options) and any necessary development tool libraries. § Download the complete application image to the target system and let it run! § Please review the processor and development system documentation for additional usage information that includes specific details on how to use the compiler, assembler, and linker. Also see the Example System (Chapter 5) of this manual for a detailed demonstration of how Nucleus C++ works.