Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(PeriphDrivers, CMSIS): Fix build warnings and errors #9

Merged
merged 2 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions MAX/Libraries/CMSIS/Device/Maxim/MAX32672/Include/max32672.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@

#include <stdint.h>

// TODO(ADI): Remove below after grace period. Temporarily added these includes to resolve errors
// for grace period before eventually removing support for deprecated features. 10-24-2022
//>>>
#include "trimsir_regs.h"
#include "aes_regs.h"
//<<<

#ifndef FALSE
#define FALSE (0)
#endif
Expand Down Expand Up @@ -314,10 +307,6 @@ typedef enum {
#define MXC_BASE_AES ((uint32_t)0x40207400UL)
#define MXC_AES ((mxc_aes_regs_t *)MXC_BASE_AES)

// DEPRECATED(10-24-2022): Scheduled for removal.
typedef __attribute__((deprecated(
"Use MXC_AES (mxc_aes_regs_t), not the deprecated MXC_SYS_AES (mxc_sys_aes_regs_t) instance name and struct. 10-24-2022")))
mxc_aes_regs_t mxc_sys_aes_regs_t;
#define MXC_SYS_AES ((mxc_sys_aes_regs_t *)MXC_BASE_AES)

/******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion MAX/Libraries/PeriphDrivers/Source/LP/lp_me12.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void MXC_LP_EnterBackupMode(void)
// Should never reach this line - device will jump to backup vector on exit from background mode.
}

void MXC_LP_EnterPowerDownMode(void)
void MXC_LP_EnterShutDownMode(void)
{
MXC_GCR->pm &= ~MXC_F_GCR_PM_MODE;
MXC_GCR->pm |= MXC_S_GCR_PM_MODE_SHUTDOWN;
Expand Down