🔨 Fix HAL/STM32 F103Zx builds (#22610)

This commit is contained in:
Scott Lahteine
2021-08-30 17:02:12 -05:00
committed by Scott Lahteine
parent 5e97f37a78
commit 086fa0f0a7
10 changed files with 66 additions and 74 deletions

View File

@ -1,5 +1,6 @@
/* SYS_WKUP */
#ifdef PWR_WAKEUP_PIN1
#if defined(PWR_WAKEUP_PIN1) && defined(HAL_PWR_MODULE_ENABLED) && !defined(HAL_PWR_MODULE_ONLY)
#error "PA0 is used by thermal sensor. Disable low power wake with -DHAL_PWR_MODULE_ONLY."
SYS_WKUP1 = PA_0,
#endif
#ifdef PWR_WAKEUP_PIN2