Skip to content

CW Lib Installation

jaenrig-ifx edited this page Aug 4, 2020 · 3 revisions

43xxx Wi-Fi Platforms

The installation process described here applies for the 43xxx-Wi-Fi platform:

  1. Download the .zip or tar.gz file from releases and extract it in the following location:

    <path_to_WICED_workspace>/WICED-Studio-6.4/43xxx_Wi-Fi/libraries/drivers/sensors/
    

    Set the library folder name to hall-switch.

    This path_to_WICED_workspace is by default installed in C:\ for windows and in home/ for Linux.

    The folder can be located in any other valid component folder. Nevertheless, the 43xxx-Wi-Fi/libraries/drivers/sensors is logically the folder where hardware peripheral libraries should be placed.

  2. Copy the app folder from hall-switch/src/framework/wiced-43xxx into the apps/snip path and change the name to hall_switch.

    Alternatively, the conf_lib.bat (for Windows) or conf_lib.sh (in Linux) will create a symbolic link in the apps/snips folder automatically. ⚠️ But be aware that linked files will be change in both locations when modified!

  3. With this configuration the different make targets can be created with the WICED make target naming conventions. This is described throughly in section 3.4 of the User Guide, which can be found here: s43xxx-Wi-Fi/doc/WICED-QST.pdf.

⚠️ Before Building ⚠️

Before being able to build the application code, a few more thing needs to be fixed. Check the Troubleshooting Guide section to fix the C++ build error in WICED Studio (experienced with 6.4.0 version).

207xxxx A/B Bluetooth Platforms

The integration of the library for the BLE platforms is currently NOT implemented.