Skip to main content
Associate
July 2, 2025
Question

Errors building GPIO_EXTI example project for the STM32F746ZG_Nucleo in the STM32CubeIDE

  • July 2, 2025
  • 14 replies
  • 1249 views

Hello all,

I am trying to compile STM32F7xx_HAL_Driver using gcc toolchain in mingw. I am trying to build the example project GPIO_EXTI for the STM32F746ZG-Nucleo.

 
Here's a snip of my console output:
twhoward93_0-1751485350390.png

 

 

Would appreciate any help!

This topic has been closed for replies.

14 replies

AScha.3
Super User
July 2, 2025

Hi,

>I am trying to compile STM32G4xx_HAL_Driver using gcc toolchain in mingw.

Just -why ? game ? challenge ?

Why not using the stm IDE ?

If you feel a post has answered your question, please click on " Best Answer ".
Associate
July 7, 2025

Hey sorry if there was any confusion in my post, that was a typo on my part.

 

I am using the STM32CubeIDE as well as the MinGW GCC toolchain and the Gnu make builder

twhoward93_3-1751893934898.png

 

It will clean just fine:

twhoward93_1-1751893682784.png

 

But when I try and build I get this:

twhoward93_2-1751893915734.png

As far as not using the default toolchain I was under the impression that the STM32cubeIDE did not have native tools to produce make files, etc.

twhoward93_4-1751894045059.png

 

 

mƎALLEm
ST Technical Moderator
July 7, 2025

Hello,

The confusion also resides in the title "building STM32G4 HAL example for STM32F746ZG-Nucleo"!

Why are you building STM32G4 HAL example for STM32F746ZG-Nucleo? 

They don't belong to the same MCU family!

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Pavel A.
July 2, 2025

.

Associate
July 7, 2025

Correction:

 

I am trying to build the GPIO_EXTI example project for the STM32746ZG_Nucleo in the STM32CubeIDE.

TDK
July 8, 2025

I'm 100% sure I replied to this post just before @Pavel A. but my post has disappeared. What happened?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Pavel A.
July 9, 2025

I've edited my reply but haven't touched yours. Actually I've deleted my reply because yours was better.

TDK
July 2, 2025

> I am trying to compile STM32G4xx_HAL_Driver using gcc toolchain in mingw. I am trying to build the example project GPIO_EXTI for the STM32F746ZG-Nucleo.

The G4 HAL code isn't made for the F7. Use the F7 HAL code.

Plenty of F7 examples out there. Perhaps use one of those.

STM32CubeF7/Projects/STM32F746ZG-Nucleo/Examples at master · STMicroelectronics/STM32CubeF7

"If you feel a post has answered your question, please click ""Accept as Solution""."
ST Employee
July 10, 2025

Hi All,

 

This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.

 

Regards,
Jake

ST Support