For simplicity and user's convenience, there are only 2 basic application demos which are Device and Host respectively. Each application demo, however, has a few projects, each for its supported RTOS. For instance in the /demo/device you will find:
To be able to have the same application code running across RTOSes, the application make use of the "internal" OSAL layer. Thus this makes the application code a bit weird and over-complicated than it should be in some (many) cases. This is absolutely not necessary in product development. User can just use the native API function of supported RTOS or a state machine or blocking wait in case of none OS. For example, instead of the blinking task in application
can be written in FreeRTOS's native API
In order to run application demo, you would need