cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp135 dk & touchgfx can't build when using stm32cubeide

JPabl.1
Senior

Hi there TouchGFX team!

I want to run a UI on the STM32MP135 DK. I'n following the tutorial on: https://wiki.st.com/stm32mpu/wiki/How_to_install_X-TouchGFX_MPU_Addon

 

I'm able to select the mp135 dk in TouchGFX designer and create the files. Then, I open the files from the TouchGFX designer button and go to STM32CubeIDE/.project

 

At this moment I can find 2 errors:

1. I can't open CubeMX with the .ioc file. 

2. I can't build the project using CubeIDE. 

JPabl1_0-1727817104099.png

 

JPabl1_1-1727817149347.png

 If I do the same process with a different board setup, the project builds as expected. 

 

Thanks a lot in advance 

 

1 ACCEPTED SOLUTION

Accepted Solutions
bbakram
ST Employee

Hello @JPabl.1,

 

Please make sure to use below versions of STM32 Tools and to respect default installation location.

 

  1. STM32CubeProgrammer version 2.16.0 : STM32CubeProg - STM32CubeProgrammer software for all STM32 - STMicroelectronics
    • Please use default installation folder in ProgramFiles or change the change the gcc/include/STM32MP135F.mk file and set the right path to your STM32CubeIDE installation (stm32cube_programmer_path variable to update)
  2. STM32CubeIDE for Windows® host PC version 1.15.0 : STM32CubeIDE - Integrated Development Environment for STM32 - STMicroelectronics
    • To get the "Build and Run button on the Designer working please install the tool in C:\ST\STM32CubeIDE_1.15.1 or change the gcc/include/STM32MP135F.mk file and set the right path to your STM32CubeIDE installation (stm32cube_ide_path variable to update).
    • Please modify the gcc/Makefile to use the correct path to your STM32CubeIDE workspace folder (stm32cube_ide_workspace_path=C:\Users\<username>\STM32CubeIDE\workspace_1.15.1.

STM32CubeMX Tool is not yet supported for this STM32MP135F-DK TBS; the .ioc file delivered with the TBS is not a valid one; it's just there to make the TouchGFXDesigner (Generator) working. You can remove this file and likely you will just get warnings (code generation should be fine).

 

Please let me know if you still have issue(s) to get started with TouchGFX on STM32MP135F-DK board.

 

Best Regards,

Akram

 

View solution in original post

1 REPLY 1
bbakram
ST Employee

Hello @JPabl.1,

 

Please make sure to use below versions of STM32 Tools and to respect default installation location.

 

  1. STM32CubeProgrammer version 2.16.0 : STM32CubeProg - STM32CubeProgrammer software for all STM32 - STMicroelectronics
    • Please use default installation folder in ProgramFiles or change the change the gcc/include/STM32MP135F.mk file and set the right path to your STM32CubeIDE installation (stm32cube_programmer_path variable to update)
  2. STM32CubeIDE for Windows® host PC version 1.15.0 : STM32CubeIDE - Integrated Development Environment for STM32 - STMicroelectronics
    • To get the "Build and Run button on the Designer working please install the tool in C:\ST\STM32CubeIDE_1.15.1 or change the gcc/include/STM32MP135F.mk file and set the right path to your STM32CubeIDE installation (stm32cube_ide_path variable to update).
    • Please modify the gcc/Makefile to use the correct path to your STM32CubeIDE workspace folder (stm32cube_ide_workspace_path=C:\Users\<username>\STM32CubeIDE\workspace_1.15.1.

STM32CubeMX Tool is not yet supported for this STM32MP135F-DK TBS; the .ioc file delivered with the TBS is not a valid one; it's just there to make the TouchGFXDesigner (Generator) working. You can remove this file and likely you will just get warnings (code generation should be fine).

 

Please let me know if you still have issue(s) to get started with TouchGFX on STM32MP135F-DK board.

 

Best Regards,

Akram