
Page 104 of 117
G.FIT User Guide and Specification, Rev 2.0_Alpha.14
thisisant.
com
Appendix A -
G.FIT SoC library
A.1
Compiling the demo application
Unzip the contents of the G.FIT_Library zip file inside the G.FIT Libraries Package into a directory on your
hard drive (e.g. C:\gfit).
Download version 13.1 the Nordic nRF5 SDK for GCC from
http://developer.nordicsemi.com/
. Create a new
directory called nrf5-sdk inside the gfit folder and install the Nordic nRF5 SDK in this directory.
Unzip the S332 SoftDevice package and copy the contents of the include directory directly into the
components\softdevice\s332\headers directory of the nrf5-sdk.
Unzip the G.FIT SDK package and copy the app directory into the gfit directory.
The final directory structure should look like Figure A-1.
Figure A-1. Final directory structure
Build the demo_gfit project. The first time you build the project, the compiler will point out two errors which
serve as reminders that licenses must be obtained to use the S332 SoftDevice and the G.FIT libraries. Follow
the instructions in the error messages to enable the evaluation keys and allow the project to build.
A.1.1
Library license key
The G.FIT library require a license key to operate. An evaluation key is available which will enable full
functionality and is to be used for NON-COMMERCIAL USE ONLY. The license key required for the G.FIT
library is different and independent from the license key G.FIT operates exclusively on Garmin G.FIT
modules, once the Distribution Agreement for the G.FIT Module is completed, SoftDevice royalties will be
waived for each instance of ANT SoftDevice used within a G.FIT module for com mercial end product.
Further information about licensing can be found at:
www.thisisant.com/developer/ant/licensing
License validation can extend the library initialization time to up to 100 ms.