STM32CubeIDE 2.1.1
I normally use 1.19.0 because of the MX sillyness...
When compiling you get warnings - let's take stm32h723xx.h as an example.
Line 2516 is -
#define GPIOB ((GPIO_TypeDef *) GPIOB_BASE)
In 1.19.0 you get a warning -
Description Resource Path Location Type
(near initialization for 'output_port[9]') stm32h723xx.h /Cube-Wave-723/Drivers/CMSIS/Device/ST/STM32H7xx/Include line 2516 C/C++ Problem
In 2.1.1 you get an error -
Description Resource Path Location Type
initialization of 'long unsigned int' from 'GPIO_TypeDef *' makes integer from pointer without a cast [-Wint-conversion] stm32h723xx.h /Cube-Wave-723/Drivers/CMSIS/Device/ST/STM32H7xx/Include line 2516 C/C++ Problem
As it is actually your generated code I do wonder how this has slipped through your 'testing' process.
I was awaiting a news item reporting on ST employees being treated for burns as their ears caught fire after I found this ;)
Andy.