After building the application, X-LINUX-MEMS-FUSION1_CM4.elf is formed at X-LINUX-MEMS1\X-LINUX-
MEMS\CM4\Debug.
4.3
Cortex® A7 application
The rpmsg can be built using the makefile provided via the make command. Before building using the make
command, tool chain for STM32MP1SDK needs to be exported using source command mentioned in
Section 3.2 Installing the
Makefile and the rpmsg source are present at: X-LINUX-MEMS1_V1.0.0\Application\Source\X-LINUX-
MEMS1\Utilities\C\rpmsg.
4.4
Distribution package
This is required to build the Yocto recipes and create STM32MP1 images which has x-linux-mems1 application
embedded in them.
Step 1.
Create a directory for the distribution package and initialize repo in the current directory
PC $> repo init -u
s/openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23
PC $> repo sync
Step 2.
Initializing the OpenEmbedded build environment for STM32MP1
PC $> DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envse
tup.sh
Step 3.
Download the X-LINUX-MEMS1 application package
PC $> cp -rf X-LINUX-MEMS1_V1.0.0/Recipe/meta-st-mems1/ ../layers/meta-st/
copy it into the layers/meta-st folder inside the build directory
UM3148 - Rev 2
Figure 10.
STM32CubeIDE Cortex® M4 workspace
SDK.
https://github.com/STMicroelectronics/oe-manifest.git -b refs/tag
UM3148
Cortex® A7 application
page 8/15
Need help?
Do you have a question about the X-LINUX-MEMS1 and is the answer not in the manual?
Questions and answers