WSTCompilerTypes
Your product comes with the following package:
- WSTCompilerTypes.sbs in the
directory <your Rhapsody>\Share\WST_RXF_V5\<your product>\Samples\Model\WSTCompilerTypes\WSTCompilerTypes_rpy
WSTCompilerTypes.sbs is a package which allows you to use the AUTOSAR
compatible data types in Rhapsody drop down boxes after setting up the
properties correctly in your model. These datatypes like uint16 etc are
used in the RXF, but you can use the same types in your model.
This package results in two files when you add it to your model (add it as a reference):
- WSTCompilerTypes.h which offers the same data types as in the file Rhapsody>\Share\WST_RXF_V5\<your product>\Source\WSTCompilerTypes.h
- WSTCompilerTypes.c which is in effect an empty file.
When deploying, these two files are deployed to your application
project on Linux, and 'win' over the standard WSTCompilerTypes.h file.
If you want to modify it, you can use the Samples\Model\WSTCompilerType
Rhapsody project. If you add the package as a reference, any changes
will have effect in all using Rhapsody projects where you regenerate
code:

You must set some properties to be able to see the data types in
your Rhapsody model. These are at the model level (so select Blinky in
our GettingStarted):
- General::Model::CommonTypes which is set to: WSTCompilerTypes,PredefinedTypesC
- General::Model::DefaultType which is set to: WSTCompilerTypes::uint32

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