EasyManua.ls Logo

Lantronix MatchPort

Lantronix MatchPort
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10 Sample Applications
Linux Software Developers Kit (SDK) User Guide 62
Adding a New Application
To add an application, perform the following on the development host:
$ cd <install directory>/linux/user/lantronix
$ mkdir <app_dir>
- Add the source files into <app_dir>
- Sample source file (test.c)
/* Start test.c */
#include <stdio.h>
int main(void)
{
printf("Testing 1,2,3\n");
return 0;
}
/* End test.c */
1. Create make file as linux/user/lantronix/<app_dir>/Makefile. Use
linux/usr/lantronix/hello_world/Makefile as a reference, and adjust for your application.
2. Add application to <install directory>/linux/user/lantronix/Makefile
See hello_world rules and add in the same manner.
3. Edit <install directory>/linux/user/Kconfig
See hello_world config and add in the same manner.
4. Run make config (or menuconfig) from <install_directory/linux), and enable the application
when prompted.

Table of Contents

Other manuals for Lantronix MatchPort

Related product manuals