USBCPD CubeIDE code results in HardFault when GUI_INTERFACE is enabled
So, I followed the following video step by step for a "project with a custom board" (video minute 13:04)
https://www.youtube.com/watch?v=cbdFHmMOMwk
I am working on an STM32G0B1CBT6
The code is generated and can be built, but as soon as I enable the Utilities->GUI_INTERFACE in CubeMX, the generated code results in a Hardfault during initialisation ( to be specific in the in the file Utilities-> GUI_INTERFACE->bsp_gui.c) during execution of the line number 80, that is
if ((0xFFFFFFFFu != *((uint32_t *)_addr)) && (MagicNumber != *((uint64_t *)_addr)))
Any hints on how to proceed debugging?
Thanks!

