Data Types

The RXF uses AUTOSAR defined data types, which are defined in WSTCompilerTypes.h which is located in the directory <Rhapsody>\Share\WST_RXF_V5\<your product>\Source and <your path on Linux>/<product>/Source

These types are:  sint8, uint8, sint16, uint16, sint32, uint32, float32, float64, uint8_least, uint16_least, uint32_least, sint8_least, sint16_least and sint32_least.

In some cases, one or more of these types are also defined by your toolchain or (third party) include files. To circumvent conflicts, you can disable the type definitions in WSTCompilerTypes.h. We use a test using a constant, for example:

#ifndef AUTOSAR_SINT16_DEFINED
#define AUTOSAR_SINT16_DEFINED
typedef signed short        sint16;         /*      -32768 .. +32767          */
#endif

When you do not want to use such type definition in WSTCompilerTypes.h, you can do this in three ways:

You can use the following defines to prevent a corresponding type definition:

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