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
  • 5 replies
  • 1208 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!

5 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 ""Accept as Solution""."
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
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 on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Pavel A.
Super User
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
Super User
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""."
Associate
July 8, 2025

I'm unsure, I haven't done anything.

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