Interfaces Compiler


This section describes the interfaces for two different Tasking C166 compilers:

Tasking C166/XC16x and ST10/Super10 V8.7


Files Description
WSTCompiler.h This file defines the following types:
  • RiCBoolean
boolean
  • timeUnit
unint32
  • RiCHandle
sint8
  • gen_ptr
void *
  • eventID_t
sint16
This file defines the following macros:
  • WST_TM_OVERFLOW
LONG_MAX
  • MALLOC_ARGUMENT_TYPE
size_t
  • MALLOC_RETURN_TYPE
void *
  • FREE_ARGUMENT_TYPE
void *
  • FREE_RETURN_TYPE
void
  • TRUE
1
  • FALSE
0
  • WST_NEARD
near
  • WST_FARD
far
  • WST_NEARC
near
  • WST_FARC
far
  • WST_NEARD_ADDRESS_SIZE1
16
  • WST_FARD_ADDRESS_SIZE1
32
  • WST_NEARC_ADDRESS_SIZE1
16
  • WST_FARC_ADDRESS_SIZE1
32
  • WST_TIMEUNIT_ADDRESS_SIZE1
32
  • RIC_OS_TOLOWER_DEFINED_IN_CTYPE

  • WST_COMPILER_INIT_AS_EMPTY_MACRO
No WSTCompiler_Init() needs to be implemented.

  • RiC_UINT64
struct_t
  • RiC_INT32_MIN
(sint32) LONG_MIN
  • RiC_INT32_MAX
(sint32) LONG_MAX
  • RhpPositive_MAX
(uint32) ULONG_MAX

1 ANSI-C does not allow for use of the sizeof operator in preprocessor statements, which is why we use these _ADDRESS_SIZE macros. These macros are used for Memory Section Management.
         
WSTCompiler.c This file is empty.
WSTCompilerTypes.h This file may be part of a Board Support Package installation, and its types may be visible inside a Rhapsody project.
 
This file defines the following types:
  • sint8
signed char
  • uint8
unsigned char
  • sint16
signed short
  • uint16
unsigned short
  • sint32
signed long
  • uint32
unsigned long
  • boolean
unsigned short
  • char_t
char
  • int_t
int
  • struct_t
unsigned int





Tasking VX-toolset for C166/ST10


Files Description
WSTCompiler.h This file defines the following types:
  • RiCBoolean
boolean
  • timeUnit
unint32
  • RiCHandle
sint8
  • gen_ptr
void *
  • eventID_t
sint16
This file defines the following macros:
  • WST_TM_OVERFLOW
LONG_MAX
  • MALLOC_ARGUMENT_TYPE
size_t
  • MALLOC_RETURN_TYPE
void *
  • FREE_ARGUMENT_TYPE
void *
  • FREE_RETURN_TYPE
void
  • TRUE
1
  • FALSE
0
  • WST_NEARD
__near
  • WST_FARD
__far
  • WST_NEARC
__near
  • WST_FARC
_-far
  • WST_NEARD_ADDRESS_SIZE1
16
  • WST_FARD_ADDRESS_SIZE1
32
  • WST_NEARC_ADDRESS_SIZE1
16
  • WST_FARC_ADDRESS_SIZE1
32
  • WST_TIMEUNIT_ADDRESS_SIZE1
32
  • RIC_OS_TOLOWER_DEFINED_IN_CTYPE

  • WST_COMPILER_INIT_AS_EMPTY_MACRO
No WSTCompiler_Init() needs to be implemented.

  • RiC_UINT64
struct_t
  • RiC_INT32_MIN
(sint32) LONG_MIN
  • RiC_INT32_MAX
(sint32) LONG_MAX
  • RhpPositive_MAX
(uint32) ULONG_MAX

1 ANSI-C does not allow for use of the sizeof operator in preprocessor statements, which is why we use these _ADDRESS_SIZE macros. These macros are used for Memory Section Management.
         
WSTCompiler.c This file is empty.
WSTCompilerTypes.h This file may be part of a Board Support Package installation, and its types may be visible inside a Rhapsody project.
 
This file defines the following types:
  • sint8
signed char
  • uint8
unsigned char
  • sint16
signed short
  • uint16
unsigned short
  • sint32
signed long
  • uint32
unsigned long
  • boolean
_Bool
  • char_t
char
  • int_t
int
  • struct_t
unsigned int




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