Skip to main content
Tthur.1
Associate II
November 30, 2021
Question

Initialisation GPIO not work in CubeIDE V1.8.0

  • November 30, 2021
  • 2 replies
  • 2094 views

I detected a problem : If the MX GPIO_Init(); is called before the MX_APPE_Init(); the HAL_GPIO_Togglepin not work.

To solve it, I call MX_GPIO_Init(); after the MX_APPE_Init();

This topic has been closed for replies.

2 replies

TDK
Super User
November 30, 2021

Wonderful. Is this another order-of-initialization bug introduced by a new version of CubeMX?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Pavel A.
Super User
December 1, 2021

What is MX_APPE_Init? What peripheral or software it belongs to?

Tthur.1
Tthur.1Author
Associate II
December 1, 2021

The MX_APPE_Init it's the initialization of the BLE app on the STM32WB. He created by the CubeMX.

Tthur.1
Tthur.1Author
Associate II
December 1, 2021

Update, if the CFG_DEBUGGER_SUPPORTED is set at "1" the gpio works.