RTOS Resource Management


Opposite to earlier versions of Frameworks by Willert Software Tools, the latest Frameworks are build inside an external build environment like Eclipse or your own make file(s) and no longer inside Rhapsody. As a result, you no longer can set properties in the Rhapsody model to specify various RTOS details. Instead, you must use the mechanisms offered by your RTOS supplier.

The RXF used in Linux requires you to use proper include paths to the RXF; please refer to the property WSTLinuxPathToRXF which contents is used in include options in a generated Makefile for your application.

For Linux, you'll need to verify and/or modify the RTOS Bridge sources WSTRTOS.h and WSTRTOS.c - it is unlikely that you'll need to reconfigure your Linux kernel itself.

The file WSTRTOS.h is used to specify details for the Linux Bridge which are needed by the RTOS bridge interface. You can modify the constants:
The file WSTRTOS.c is used to specify details for the Linux Bridge but we do not expect you to change its implementation. The only topic worth mentioning is that the constant OM_POSIX_THREAD_SUSPEND_RESUME_SUPPORT is used to add two signal catchers; one for SIGUSR1 and one for SIGUSR2.


NOTES
  • if you modify the source file WSTRTOS.c, you must rebuild your application, see GettingStarted  example
  • if you modify the include file WSTRTOS.h, you must rebuild your RXF libraries and rebuild your appliaction.



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