This is an old revision of the document!
Precision Converters Firmware Build Guide for STM32 Platform
Building Using STM32CubeIDE
In order to leverage the STM32 firmware, it is necessary that the following are installed on the machine
Clone Precision Converters Firmware repository with the
flag (not needed if building with web IDE
for Mbed platform):
git clone --recursive https://github.com/analogdevicesinc/precision-converters-firmware
If however you've already cloned the repository without the
--recursive flag, you may initialize all the submodules in an existing cloned repo with:
git submodule update --recursive --init
Open the adxxxx_iio.ioc file from the “precision_converters_firmware/adxxxx_iio/STM32/” directory. This would open the file in STM32CubeMX.
Click on the “Generate Code” option seen on the top right corner
After the project is loaded to the STM32CubeIDE, unfold the adxxxx_iio project seen in the project explorer, right click the “app” folder, select “Settings” under the “C/C++ Build” section on the left pane and un-check the “Exclude resources from build” checkbox. This would ensure that the project specific files are included by the build system