Skip to content

Commit

Permalink
Disable low_power.* in framework
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 30, 2021
1 parent 7d81a92 commit 62cd9aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ extern "C" {
//#define HAL_WWDG_MODULE_ENABLED
//#define HAL_MMC_MODULE_ENABLED

#define HAL_PWR_MODULE_ONLY

/* ########################## Oscillator Values adaptation ####################*/
/**
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
Expand Down

0 comments on commit 62cd9aa

Please sign in to comment.