Template:ArticleMainWriter Template:ArticleFirstDraftVersion
SUMMARY
The Artificial Intelligence expansion package contains AI frameworks 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 <Distribution Package installation directory>/layers/meta-st
cd <Distribution Package installation directory>/layers/meta-st git clone https://gerrit.st.com/stm32mpuapp/meta/meta-st-stm32mpu-ai.git -b thud
- Setup the build environment
cd ../.. DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh
- Add the new layers
bitbake-layers add-layer ../layers/meta-st/meta-st-stm32mpu-ai
2. Build the software image[edit source]
- For the AI Computer Vision software X-LINUX-AI-CV expansion package
bitbake st-image-ai-cv