3
Software setup
This section describes the software setup, which is required for building, flashing, transferring, and running the
MEMS application.
3.1
Recommended PC prerequisites
A Linux® PC running under Ubuntu® 20.04 is to be used. The developer can follow the link below:
https://wiki.st.com/stm32mpu/wiki/PC_prerequisites
3.2
Installing the SDK
This software package is built for the
package. The package contains the binaries which can be transferred using the scp command or zmodem. In
case customization is needed in the application, installing the SDK helps in building it. The developer can follow
the link below:
STM32MPU SDK
Once the SDK is installed, export the tool chain using the below command to build any Cortex® A7 application:
$source . /<path to SDK Installation Directory>/environment-setup-cortexa7t2hf-neon-vfpv4-ost
l-linux-gnueabi
3.3
Downloading and running the package
This is required to build the
STM32MP1 SD card flashable images, which has the MEMS application (elf, rpmsg, Python ) embedded.
The developer can follow the given link to download the
3.4
Connecting to the board and transferring files
This is required to transfer the built binaries (application, elf, Python) to the STM32MP157F-DK2 board from the
development PC. The developer can transfer the binaries either by a:
1.
a
hotspot
2.
or setting up a Wi-Fi connection in the Board:
3.
or using any serial protocol (like zmodem from Tera Term)
UM3148 - Rev 2
STM32 MPU ecosystem
Installation.
X-LINUX-MEMS1
method
4.1. This is required to build the application
Yocto recipe for the distribution package and for creating the
Distribution
Package:
How to setup a WLAN connection - stm32mpu
UM3148
Software setup
page 6/15
Need help?
Do you have a question about the X-LINUX-MEMS1 and is the answer not in the manual?