STM32MP1 Developer Package for Android

Revision as of 17:21, 19 August 2019 by Registered User

This article describes how to obtain and use the Developer Package of the STM32MPU Embedded Software for Android™ for any STM32MP1 family development platform (STM32MP15 boards) in order to develop applications on it.

It details some prerequisite knowledge and the development environment, and gives step-by-step instructions to download and install the STM32MPU Embedded Software for Android components for the Package.

Finally, it gives guidelines on upgrading (to add, remove, configure, or improve) any piece of software.

1. Developer Package content[edit source]

If you are not familiar with the STM32MPU Embedded Software for Android distribution and its Packages, please read the following articles:

In summary, this Developer Package provides:

  • for the STM32MPU distribution for Android™ (development on Arm® Cortex®-A processor):
    • the software development kit (SDK) update associated with Android Studio IDE, adding a service to connect your application to the co-processor (customization)
  • for the STM32Cube MPU Package (development on Arm® Cortex®-M processor):
    • Source code for all pieces of software (BSP, HAL, middleware and applications)
    • the integrated development environment (IDE) (STM32-CoPro-MPU Eclipse plugin)

2. Prerequisite knowledge[edit source]

The STM32MP1 Developer Package aims to enrich Linux-based software for the targeted product. A basic knowledge of Linux and Android is recommended in order to make the most of this Package. Reading the STM32MPU Embedded Software for Android architecture overview is also highly recommended.

3. Installing the components to develop software running on Arm Cortex-A (STM32MPU distribution for Android)[edit source]

3.1. Installing the Android Studio IDE[edit source]

The IDE is available in the Android developer site[1].

3.2. Installing the SDK update[edit source]

The official SDK for Android must be loaded through Android Studio using the SDK manager, selecting the correct version for the Starter package version used.

The SDK can then be updated by replacing the android.jar file (JAVA archive file for Android) of the loaded SDK with the one provided within the Developer package (adding the co-processor service classes).

Under construction.png Delivery for Android coming soon (Q4 2019)

4. Installing the components needed to develop software running on the Arm Cortex-M4 (STM32Cube MPU Package)[edit source]

4.1. Installing the Eclipse IDE[edit source]

The table below explains how to download and install the System Workbench for the STM32 IDE, which is the AC6 product addressing the STM32 MCU, and the STM32-CoPro-MPU plugin, which provides support for Cortex-M inside the STM32 MPU. STM32-CoPro-MPU plugin release note

4.2. Installing the STM32Cube MPU Package[edit source]

Prerequite: the Eclipse IDE is installed.


  • The STM32CubeMP1 Package is delivered through an archive file named en.STM32Cube_FW_MP1_V1.6.0.zip.

  • Download and install the STM32CubeMP1 Package

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA0048). The detailed content licenses can be found here..

STM32MP1 Developer Package STM32CubeMP1 Package - v5.0.0 release
Download
  • Go on st.com to download the en.STM32Cube_FW_MP1_V1.6.0.zip file.
Installation
 cd <working directory path>/Developer-Package
  • Download the archive file in this directory
  • Uncompress the archive file to get the STM32CubeMP1 Package:
 unzip en.STM32Cube_FW_MP1_V1.6.0.zip
Release note

Details about the content of the STM32CubeMP1 Package are available in the STM32Cube_FW_MP1_V1.6.0/Release_Notes.html file.

Archive box.png If you are interested in older releases, please have a look into the section Archives.

  • The STM32CubeMP1 Package installation directory is in the <Developer Package installation directory> directory, and is named STM32Cube_FW_MP1_V1.6.0:
STM32Cube_FW_MP1_V1.6.0			STM32CubeMP1 Package: details in STM32CubeMP1 Package content article
├── Drivers
│   ├── BSP				BSP drivers for the supported STM32MP1 boards
│   │   └── [...]
│   ├── CMSIS
│   │   └── [...]
│   └── STM32MP1xx_HAL_Driver		HAL drivers for the supported STM32MP1 devices
│       └── [...]
├── _htmresc
│   └── [...]
├── License.md
├── Middlewares
│   └── [...]
├── package.xml
├── Projects
│   ├── STM32CubeProjectsList.html	List of examples and applications for STM32CubeMP1 Package
│   ├── STM32MP157C-DK2			Set of examples and applications → STM32MP15 Discovery kits
│   │   └── [...]
│   └── STM32MP157C-EV1			Set of examples and applications → STM32MP15 Evaluation boards
│       └── [...]
├── Readme.md
├── Release_Notes.html			Release note for STM32CubeMP1 Package
└── Utilities
    └── [...]


The STM32Cube MPU Package is now installed: let's develop software running on Arm Cortex-M.

5. Developing software to run on the Arm Cortex-A7[edit source]

Please refer to the Android developer guide[2]

6. Developing software to run on the Arm Cortex-M4[edit source]

Please refer to STM32CubeMP1 Package article.

7. How to go further[edit source]

Now that your developments are ready, you may switch to the STM32MP1 Distribution Package for Android in order to create your own distribution and to generate your own SDK and image.