STM32MP1 Developer Package for Android

Revision as of 15:25, 17 June 2019 by Registered User

Template:ArticleMainWriter Template:ArticleApprovedVersion


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

It lists some prerequisites in terms of knowledges and development environment, and gives the step-by-step approach to download and install the STM32MPU Embedded Software for Android components for this Package.

Finally, it proposes some guidelines to upgrade (add, remove, configure, improve...) any piece of software.

1. Developer Package content[edit source]

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

To sum up, this Developer Package provides:

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

2. Checking the prerequisites[edit source]

2.1. Knowledges[edit source]

The STM32MP1 Developer Package aims at enriching a Linux-based software for the targeted product: basic knowledges about Linux and Android are recommended to make the most of this Package.

Having a look at the STM32MPU Embedded Software architecture overview is also highly recommended.

3. Installing the Starter Package[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 shall be loaded through Android Studio using the SDK manager, selecting the version associated to the Starter package version used.

It's then possible to update it replacing the android.jar file of the loaded SDK by the one provided within the Developer package.

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

4. Installing the components to develop software running on 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 STM32 IDE which is the AC6 product addressing STM32 MCU, and the STM32-CoPro-MPU plugin which provides support for Cortex-M inside 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 (SLA). The detailed content licenses can be found here.

Warning white.png Warning
To download a package, it is recommended to be logged in to your "myst" account [1]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.
We apologize for this inconvenience

.

STM32MP1 Developer Package STM32CubeMP1 Package - v4.1.0 release
Download

You need to be logged on my.st.com before accessing the following link:
en.STM32Cube_FW_MP1_V1.6.0.zip

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 running on Arm Cortex-A7[edit source]

Please refer to the Android developer guide[2]

6. Developing software running on 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 might want to switch to the STM32MP1 Distribution Package for Android, in order to create your own distribution and to generate your own SDK and image.