Download Print this page

AcSiP AI7688H Reference Manual page 58

Advertisement

11 C/C++ Programming
11.1 Building C/C++ Programs with OpenWrt SDK
Building C/C++ binaries for AI7688H requires cross-compilation.
We provide an OpenWrt SDK. Follow these steps to build an example C/C++
ipk file that can be installed with opkg command.
Requirement
Currently only Ubuntu Linux and OS X are supported.
Windows with Cygwin is not supported.
The following steps assume an Ubuntu Linux environment.
Step
First, download the SDK zip file Unzip the package.
The name is quite long and we'll use SDK to denote its name.
Note that sudo is mandatory – without it the file won't properly unpacked.
Copy the example helloworld directory to SDK/package folder.
The folder structure should look like this:
In the SDK directory, type
make package/helloworld/compile to build the package.
-54-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date
2019/08/08

Advertisement

loading

This manual is also suitable for:

Ek-ai7688h