Template:ArticleMainWriter Template:ArticleFirstDraftVersion
SUMMARY
The AI extension package contains AI frameworks like Neural Network and Computer Vision to enable AI application example that could be run on STM32MP1 hardware.
This package consists in a OpenEmbedded meta layer meta-st-stm32mpu-ai to be added on top of the STM32MP1 Distribution Package. It brings a complete and coherent easy to build / install environment to take advantage of AI on STM32MP1 hardware.
1. Installation of the meta layer[edit source]
- Clone following git repositories into [your STM32MP1 Distribution path]/layers/meta-st
cd [your STM32MP1 Distribution path]/layers/meta-st git clone https://gerrit.st.com/stm32mpuapp//meta/meta-st-stm32mpu-ai.git -b thud
- Setup the build environement
source layers/meta-st/scripts/envsetup.sh Select your DISTRO (ex: openstlinux-weston) Select your MACHINE (ex: stm32mp1)
- Add the new layers
bitbake-layers add-layer ../layers/meta-st/meta-st-stm32mpu-ai
- Build the AI image
bitbake st-image-ai