Xenomai:examples usage

From ArmadeusWiki
Revision as of 17:00, 27 March 2009 by GwenhaelG (Talk | contribs)

Jump to: navigation, search

Page under construction... Construction.png Informations on this page are not guaranteed !!


Xenomai is an real time kernel extension.

For explaination on how to install this, cf. Xenomai install instructions.

The directory armadeus/target/demos/real_time contains a set of examples Xenomai.

For each examples, an equivalent in linux environnement version is available.


Structure

Directoried named linux contains every exemple for linux and the directory Xenomai contains real time examples.

For each of them, an subdirectory called user_space or kernel specifying the space programmation .


Configurations & compilation

Once you are in directory of an application , you've just to type make for compiling this application

and make install for compiling and installing application on /tftpboot/local/bin directory on your computer.


Running

Kernel drivers

Loading and unloading a kernel driver is classical, like every other linux kernel driver.

 # insmod your_driver

For loading the driver.

 # rmmod your_driver 

For unloading this.


User Space applications

If it's userSpace application, you have to type

 # xeno-load your_application/ 


Others examples

The Directory armadeus/buildroot/build_armv4t/xenomai-x.y.z/examples contains many examples


Links