Create Your Own User Space Application - WAGO 750 Series Manual

Linux fieldbus coupler
Hide thumbs Also See for 750 Series:
Table of Contents

Advertisement

5.6 Create your own User Space Application

Please use the ~/uClinux/user directory for user space applications. Create a
subfolder for your project.
> cd ~/uclinux-dist/user
Change to root directory for user space applications.
> mkdir newProg
Create project folder newProg
> cd newProg
Change to project folder newProg
A minimum project consists of a source code file and a make file. Create the
source code file newProg.c, e.g. using EMACS, KATE or JOE.
> emacs newProg.c
Call EMACS editor
Insert the following code into the emacs and press CTRL-X CTRL-S to save
it.
int main (int argc, char **argv)
{
printf("Hello World\n");
}
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
Step-by-Step Guide to your own Linux Application • 105
Create your own User Space Application

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

750-860

Table of Contents