3 1
A p p l i c a t i o n D e v e l o p m e n t
Application Development
C
H
A
P
T
E
R
5
Writing applications
The user applications are stored in subdirectory apps/ of the project folder.
The template project includes several demo applications for use as templates to begin
developing your own programs. They will automatically build and copy to the folder
“/usr/bin/” of the target when building the system.
Adding your own applications
To add a new application, run the script
bin/add_app
with the name of the new
application as first parameter.
Example:
This command creates a sample application named ‘customapp’ in the folder apps/
customapp in the source directory. Edit the file apps/customapp/customapp.c to insert
your application code.
To use more than one source file, just create the source files and modify Makefile.in to
include the files in the build process.
On the next call to
make install
, the application is added to your root file system.
~
/LxNETES-3.2/build_custom$
bin/add_app customapp
Summary of Contents for 9P 9360/9750
Page 1: ...LxNETES User s Guide ConnectCore 9P 9360 9750 ...
Page 2: ......
Page 4: ......
Page 28: ...M a n u a l I n s t a l l a t i o n 2 8 L x N E T E S U s e r s G u i d e ...
Page 33: ...3 3 A p p l i c a t i o n D e v e l o p m e n t Table 6 3 proc cpuinfo contents ...
Page 60: ...6 0 L x N E T E S U s e r s G u i d e ...
Page 70: ...M e m o r y l a y o u t s 7 0 L x N E T E S U s e r s G u i d e ...