Source Code of Arduino Package
Last updated
Last updated
The board supporting package of LinkIt 7697 are built from 2 software packages and they are:
Public version of the .
An that provides an adaptation layer between the native LinkIt SDK and Arduino APIs. This add-on package was developed by for LinkIt 7687 and then ported to LinkIt 7697.
The LinkIt SDK source code is built into a library, libarduino.a. This library file, along with other library files provided by the LinkIt SDK, is packed with the source code of the Arduino adaptation layer into the final Arduino board supporting package.
To build the package, you'll need the following:
Ubuntu Linux
make
utility - installed
Perl - installed
Visit the of the add-on package.
Download the according to the instructions in the add-on package. The version number must exactly match because the add-on package may modify or replace some of the LinkIt SDK files.
Extract the downloaded LinkIt SDK v4 package to your directory of choice.
Clone the add-on package and merge it with the SDK directory. The resulting directory structure should look like the following:
Create a out
directory using the following command:
Build the board support package using the following command:
The board support package can be found under the out
folder, with a flash_tool directory containing the upload tool, and a mt7697 folder containing the essential board supporting code and libraries.
If you want to install this package to your Arduino IDE, you can replace them into your 3rd party package folder. To learn how to do this, read the documentation .
The upload tool uploads the compiled sketch and it's written in Python. You can find the tool source code in .