When you build a sample application, you compile its source code and link that against the SmartMesh library. The SmartMesh library is not included in the On-Chip SDK repository.
In order to get access to the stack library you will need to create a MyAnalog
account. You received a Proof-of-Purchase certificate
with your hardware purchase. Please send full contact information of the person receiving the software (name, company, address, phone, email), the 20-digit product key
contained on the certificate,
and what type of software you are seeking to email@example.com.
Main Directory Structure
The On-Chip SDK repository contains the following directories:
doc/ contains the Doxygen-generated source code documentation, and documentation about the uC/OS-II operating system.
projects/iar/ contains the project files for the tool chain supported by the On-Chip Software Development Kit.
src/ contains the source code of the sample applications.
tools/ contains tools used by the On-Chip Software Development Kit.
The library contains two additional directories you will add to the
inc/ contains the OCSDK headers
lib/ contains the pre-compiled binary library files
If you choose to download a zip from github, the root folder will be called
onchipsdk-master rather than
Add the SmartMesh Library
Use the release page to see which SmartMesh library revision is needed for the On-Chip SDK repository you downloaded. The SmartMesh library is found in the SmartMesh IP Software.zip file under
Unzip the dust_stack_ip_X_X_X_X.zip file and copy the contents of the
dust_stack_ip directory into the
src/ directory described above.
The SmartMesh Library and applications built with it are subject to US export control regulations. See the app note for details.
Do not commit the SmartMesh library back into the On-Chip SDK repository you forked!
To avoid an accidental commit, we strongly encourage to add the SmartMesh library into the
.gitignore file of your repository.