Compile And; Execute The Demo - ICP DAS USA LinPAC-2841 Series User Manual

Implement industry control with linux technique
Table of Contents

Advertisement

4.2
Compile and Execute the demo
In this example, no ICP DAS modules are used. To create a demo program with C language that
includes the following main steps:
Step
Find demo 'helloworld.c' in SDK
1.
Here is in the "lp8421_imx8mm_sdk/examples/common/helloworld.c"
Compile the demo on LP-2841M directly
2.
# make
Execute the application
3.
# ./helloworld
Note:
1) We recommend user to change user ID to become
2) Linux 64-bit operating system lacks 32-bit support libraries. If your Linux PC is 64-bit OS, you
must install 32-bit libraries on your system before you run the 32-bit version of the LinPAC SDK
(Linux version).
LinPAC-2841 Series User Manual
LP-2841M
root
by 'sudo' or 'su' command.
Version 1.0
page: 25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linpac lp-2841m

Table of Contents