Skip to content

STM32G0B0 errors out on stm32g0_disable_dead_battery function in soc.c #49463

@photonthunder

Description

@photonthunder

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 )

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32priority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions