cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP Linux user state task development on Win11

Dub Bartolec
Associate III

Hi All,
Is there any way to cross compile STM32MP linux user state tasks on STM32CubeIDE on Win11.


1 ACCEPTED SOLUTION

Accepted Solutions

Hello @tdecker2 ,

In the same wiki article mentioned above, you have a dedicated chapter for WSL, with some limitations mentioned.

Link of the chapter : https://wiki.st.com/stm32mpu/wiki/PC_prerequisites#WSL2_-28experimental-29

[Edit: the mention of WSL in this article is old, maybe some improvements have been done between]

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Erwan SZYMANSKI
ST Employee

Hello @Dub Bartolec ,
Unfortunately, as mention in PC prerequisites article (https://wiki.st.com/stm32mpu/wiki/PC_prerequisites), a Linux environment is needed to most of Linux development step in your project.

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
tdecker2
Associate III

Maybe the toolchain can run in a WSL (Windows-Subsystem für Linux) environment?

Hello @tdecker2 ,

In the same wiki article mentioned above, you have a dedicated chapter for WSL, with some limitations mentioned.

Link of the chapter : https://wiki.st.com/stm32mpu/wiki/PC_prerequisites#WSL2_-28experimental-29

[Edit: the mention of WSL in this article is old, maybe some improvements have been done between]

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi Erwan,

That is OK. I am aware of fact that SDK must be used on Linux.

Interestingly, I've managed to compile user state tasks using STM32CubeIDE on Win11 by creating CrossGCC config. That is OK for remote debugging using gdb but to add source code and binary to rootfs it has to be done using SDK.
I thought that maybe ST resolved it on Win11.
It would've been nice to do it in STM32CubeIDE.
I know yocto can be imported into STM32CubeIDE on Linux but I've never went through entire procedure.