Create RXF Library


OO RTX

It is a good idea to use a library for the OO RTX 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 OO RTX, and support the two buildsets Debug and Release.

We provided a VisualDSP++ 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 project 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 you can open in VisualDSP++. Select the project file OORTX.dpj and click Open:





The VisualDSP++ IDE uses the name of the project for the name of a library you create, so we use a Debug and a Release Configuration. In the project, we inserted OO RTX source files which will be archived into RXFD.dlb and RXFR.dlb in Debug and Release directories (VisualDSP++ writes its output to <projectname>.dlb, so we can not select a name like OORTXD.dlb and OORTXR.dlb):



In the subdirectories Debug and Release, VisualDSP++ will create the libraries RXFD.dlb and RXFR.dlb

You will notice that only a few things are set:


NOTE The options or constants set via CppCompileSwitches in your Buildsets must match the options in your VisualDSP++ project. 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 projects included in the project 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.