cancel
Showing results for 
Search instead for 
Did you mean: 

How to flash QT quick app in STM32MP157F-dk2 embedded linux

JPabl.1
Associate III

Hi there ST team! I'm asking because I'm lost in all this process.

I have a QT quick app developer in QT Creator. I've already followed a tutorial from QT and I was able to flash the app in the STM32MP157F-dk2 using QT Creator.

Now, I want my target board to run an embedded Linux image, and the QT quick app to run in the user space of this distro.

I already installed the STM32MPU Starter package and can confirm the target runs the demo app as expected.

After this, I don't know how to continue. If I understand correctly, I need to:

1. install the STM32MPU developer package from https://wiki.st.com/stm32mpu/wiki/STM32MPU_Developer_Package#Checking_the_prerequisites

2. follow step 7.2 "Adding Linux user space application" from: https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package#Adding_a_.22hello_world.22_user_space_example

 

The problem is that step 7.2 mentions some folder that I don't know where it came from

cd <tag>/sources/<arm architecture>-<distro>-linux*

 Also, I understand this is just a simple "hello world" app, and I need to install QT related stuff.

The X-LINUX-QT expansion package seems to only work for stm32mp2 series, and I'm using STMMP1 series, so I think those tutorials won't work.

I'm following this tutorial: https://barenakedembedded.com/how-to-set-up-stm32mp1-with-qt/ but I'm getting a lot of errors so I'm not sure if that's the correct way to do it.

 

Any help in what to do after installing the starter package is sincerely appreciated :)

0 REPLIES 0