Skip to content

Commit

Permalink
Fix MAX32650 lp wrapper
Browse files Browse the repository at this point in the history
This commit adds the missing
lp defines for MAX32650 for
the zephyr build system.

Signed-off-by: Burak Babaoglu <[email protected]>
  • Loading branch information
Burakbabao committed Feb 10, 2025
1 parent deda6c5 commit 518025e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Libraries/zephyr/MAX/Include/wrap_max32_lp.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ extern "C" {
*/
#if defined(CONFIG_SOC_MAX32665) || defined(CONFIG_SOC_MAX32666) || \
defined(CONFIG_SOC_MAX32670) || defined(CONFIG_SOC_MAX32672) || \
defined(CONFIG_SOC_MAX32662) || defined(CONFIG_SOC_MAX32675)
defined(CONFIG_SOC_MAX32662) || defined(CONFIG_SOC_MAX32675) || \
defined(CONFIG_SOC_MAX32650)

static inline void Wrap_MXC_LP_EnterLowPowerMode(void)
{
Expand All @@ -50,7 +51,11 @@ static inline void Wrap_MXC_LP_EnterStandbyMode(void)

static inline void Wrap_MXC_LP_EnterPowerDownMode(void)
{
#if defined(CONFIG_SOC_MAX32650)
MXC_LP_EnterBackupMode();
#else
MXC_LP_EnterShutDownMode();
#endif
}

/*
Expand Down

0 comments on commit 518025e

Please sign in to comment.