cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a debug configuration in STM32CubeIDE to debug Linux Kernel on STM32MP157A-DK1?

LRava.1
Associate

Hi,

I'm trying to create a debug configuration in STM32CubeIDE to debug Linux Kernel but I can't find any related article about the issue.

I want to use gdb with ST-LINK (OpenOCD) as JTAG device to debug the Kernel that I have already compiled.

Any suggestion?

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @LRava.1​ ,

This is not yet integrated/supported in STM32CubeIDE.

Only build of the kernel can be done.

Refer to current article regarding STM32CubeIDE

https://wiki.st.com/stm32mpu/wiki/Category:STM32CubeIDE

For debug you can use :

https://wiki.st.com/stm32mpu/wiki/Debugging_the_Linux_kernel_using_the_GDB

Hope it help

Olivier

Olivier GALLIEN
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

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @LRava.1​ ,

This is not yet integrated/supported in STM32CubeIDE.

Only build of the kernel can be done.

Refer to current article regarding STM32CubeIDE

https://wiki.st.com/stm32mpu/wiki/Category:STM32CubeIDE

For debug you can use :

https://wiki.st.com/stm32mpu/wiki/Debugging_the_Linux_kernel_using_the_GDB

Hope it help

Olivier

Olivier GALLIEN
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.