Application layer

The dnx RTOS is a general purpose operating system that provides application layer. The application layer is completely designed for user code. There are stored user libraries and programs. Each program can be started with many instances, the same as on PC operating system. There is an example that present how user can create own program code:

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

GLOBAL_VARIABLES_SECTION {
        int variable;
};

int_main(helloworld, STACK_DEPTH_LOW, int argc, char *argv[])
{
        puts("Hello world!");

        return EXIT_SUCCESS;
}

To learn more please read dnx RTOS documentation especially Application Development section.