Skip to main content
Associate
Jan 30, 2025 5:30 PM UTC
Solved

Changing I/O pin function in Riverdi example causes build error

I am using a Rivierdi display with their board that uses a STM32H757XIH6. I am using touchgfx and starting with their pre-made example in touchGFX. Their board has a 40 pin connector that give access to I/O. I am using their project as a starting point and trying to change I/O functions to simple GPIO from alternate function however when I make this change, the project ceases to build. Here is a specific example:

 

I changed PD11 to GPIO output from LPTIM2_IN2 using pinout view:

TIF_0-1738258041212.png

I then generated code in CubeMX and tried to build the new project in CubeIDE. The project built fine before the change but failed after this with the following error:

make: *** No rule to make target 'C:/TouchGFXProjects/Regal_shutoff/CM7/Core/Src/lptim.c', needed by 'Application/User/Core/lptim.o'. Stop.

 

What do I need to do to clear this?

This topic has been closed for replies.
Imen.DBest answer
ST Technical Moderator
Jan 30, 2025 6:38 PM UTC

Hello @TIF ,

I think these posts may help you: 

Solved: make[3]: *** No rule to make target 'CM7/TouchGFX/... - STMicroelectronics Community

No rule to make target 'TouchGFX/build/STM32H750B-... - Page 2 - STMicroelectronics Community

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

2 replies

Imen.DBest answer
ST Technical Moderator
Jan 30, 2025 6:38 PM UTC
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
TIFAuthor
Associate
Feb 10, 2025 3:48 PM UTC

Thank you! I was hoping to not have to manually manipulate those as I worry that I may break something that is used by demo board.

 

One thing I noticed is using the external CubeMX application caused issues but using the CubeMX integrated in  CubeIDE seemed to work much better.