Create RXF Library


RXF

It is a good idea to use a library for the RXF which you can link with your application. This will decrease its footprint, because unused functions will not be allocated by your linker. Our example GettingStarted also relies on using libraries for the RXF and VDK RTOS, and support the two Rhapsody buildsets Debug and Release. The VDK RTOS configuration can be configured to your needs but please do so after you used CreateRXFLibrary and GettingStarted to proof the proper installation and working of this product.

We provided a complete Code Composer project CreateRXFLibrary to build your libraries, which match the Blinky example. If you need a different derivate, you can modify the settings in the projects included in the Workspace as described on the section how to change derivate, but please do so after the demo.

The CreateRXFLibrary Project is installed in <your Rhapsody>\Share\WST_RXF_V5\<your product>\Samples\Code which Project you can open in VisualDSP++:






Build or rebuild the libraries. We already inserted references to the C sources and include files of the RXF and VDK RTOS which are installed in <your Rhapsody>\Share\WST_RXF_V5\<your product>\Source and <your Rhapsody>\Share\WST_RXF_V5\<your product>\Samples\Code\VDKConfig:



Make the other project active, and rebuild that library too:




You can inspect the settings for each Project Build Configuration:



You will notice that only a few things are set:
The two Build Configurations result in the libraries <your Rhapsody>\Share\WST_RXF_V5\<your product>\Source\Lib\RXFD.lib and <your Rhapsody>\Share\WST_RXF_V5\<your product>\Source\Lib\RXFR.lib

NOTE The options or constants set via CppCompileSwitches in your Buildsets must match the options in your Code Composer project CreateRXFLibrary to create RXF libraries. You should not compile the libraries with for example support for UML ports, or use highwatermarks in a debug version, and use different options to compile your application with.

If you need a different derivate, you can modify the settings in the Project Options as described on the section how to change derivate, but please do so after the demo.



Copyright (c) Willert Software Tools GmbH. All rights reserved.