The stm32g0b0xx.h does not define UCPD1_BASE, but does define SYSCFG_CFGR1_UCPD1_STROBE so it errors out in the stm32g0_disable_dead_battery function in soc.c.
@str4t0m pointed out in Discord the following:
"While the STM32g0x0 Socs don't have UCPD support the G070 and G0b0 still have *_strobe. meaning they pull down PD0,PD2, PB15, and PA8 unless reconfigured.
Therefore we need to chagne the code to deal with this w/o requiring the UCPDx_base defines."
and has opened a PR ( #49461 )