Xenomai 3.1.1 Ubuntu 18.04 编译 运行 HelloWorld 实时程序
上一篇文章中,我们完成了Xenomai 3.1.1 + Ubuntu 18.04 开发环境的安装,接下来我们在整个环境下编译和运行一个 HelloWorld程序,来了解一下在这种环境下编译和运行代码的方式。
编写源代码
首先新建一个文件夹,tset/xenomai/helloworld
我们在这个文件夹中创建一个C文件helloworld.c
在这个文件中我们填入如下代码
#include <stdio.h>
#include <signal.h>
#include <unistd.h></