Skip to main content
Visitor II
October 27, 2023
Question

How to Create GUI using guizero for stm32mp135-dk board

  • October 27, 2023
  • 1 reply
  • 1147 views

i am using stm32mp135-dk board. i have installed  STM32MP1-Ecosystem-v5.0.0 Starter Package 

now i want to create GUI with guizero what i do ?

    This topic has been closed for replies.

    1 reply

    ST Employee
    November 3, 2023

     @Pooja321 

    guizero is not provided in the OpenSTLinux distribution nor is available as a Yocto recipe. As a consequence, you need to install it by yourself.

    I don't know this tool so you can test this command from your board:

    root@stm32mp1:~# pip3 install guizero

    If the command fails beause of some missing packages, try to resolve the dependencies by installing the required packages.

    If guizero needs a toolchain or relies on unavailable packages, you need to use the Distribution Package and create a yocto recipe. If you are not familiar with Yocto and Distribution Package, please take a look at the following article: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

    To create python3 yocto recipe, you can install on your host machine the utility tool pipoe and use it to create your recipe.

    Best regards

    --JM