The os_sys_init function initializes and starts the Real-Time eXecutive (RTX) kernel. The task argument points to the task function to start after the kernel is initialized. The RTX kernel gives the task a default priority of 1. The os_sys_init function is in the RL-RTX library. The prototype is defined in rtl.h. Note - The os_sys_init function must be called from the main C function.
- The RTK kernel uses the default stack size, which is defined in rtx_config.c, for the task.
|