cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot generate default port assignments for STM32F4 Discovery board in STM32CubeIDE

DByko.1
Associate

I'm new to STM32 development.

I use a STM32F407G-DISC1 kit.

When I create a new project in STM32CubeMX for this board, I get all my on-board components like LEDs, buttons etc. mapped in GPIO section. This is very handy, because these evaluation board often used for quick prototyping.

When I go through the same process in STM32CubeIDE, for some reason I/O is not mapped. I answer Yes to the "Initialize all peripherals with their default Mode" dialog, but the GPIO section remains empty.

Maybe I do something wrong here?

I can first generate a project in STM32CubeMX and then open it STM32CubeIDE, but I would definitely prefer if I could do both initial configuration and development withing one application.

I use the latest available veresion of STM32CubeIDE (v1.2.1).

1 ACCEPTED SOLUTION

Accepted Solutions
DByko.1
Associate

I uninstalled all ST products, then installed SMT32CubeIDE and now everything works OK.

View solution in original post

2 REPLIES 2
Cartu38 OpenDev
Lead II

Based on 1.2.0 works like a charm according to me.

DByko.1
Associate

I uninstalled all ST products, then installed SMT32CubeIDE and now everything works OK.