The RTOS adapter implementation is stored in a file
<OperatingSystemId>_RTOSAdap.prg located at: $PE/drivers/SW/RTOSAdaptor/.
To create a new RTOS adapter driver:
- Create RTOS adapter driver implementation file manually or by copying already existing RTOS adapter driver. For example, Bareboard_RTOSAdaptor.prg.
- Implement all subroutines required by $PE/drivers/SW/RTOSAdaptor/Common_RTOSAdap.prg file according to the RTOS adapter subroutines documentation (see Accessing RTOS adapter topic for details). To access the RTOS adapter property values, use common RTOS adapter subroutines for getting exported/published parameters (see Hosted properties in RTOS component topic for details).