Skip to main content
DByko.1
Associate
January 18, 2020
Solved

Cannot generate default port assignments for STM32F4 Discovery board in STM32CubeIDE

  • January 18, 2020
  • 2 replies
  • 1107 views

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).

This topic has been closed for replies.
Best answer by DByko.1

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

2 replies

Cartu38 OpenDev
Graduate II
January 20, 2020

Based on 1.2.0 works like a charm according to me.

DByko.1
DByko.1AuthorBest answer
Associate
January 21, 2020

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