analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
61 stars 82 forks source link

chore(Boards,MAXUSB,MiscDrivers,PeriphDrivers): Fix most IAR build errors and warnings for MAX32690 #899

Closed sihyung-maxim closed 8 months ago

sihyung-maxim commented 8 months ago

Description

This PR fixes all build errors and most build warnings. The remaining build warnings are: 1) linker file/flash loader related between IAR and GCC in the SEMA PeriphDrivers, and 2) not explicitly defining the order of volatile access.

The purpose of this PR is to prep the MAX32690 for the IAR new project package.

These changes are compatible with GCC as most warnings are due to unreachable blocks that GCC doesn't catch, or IAR's sensitivity to casts.

Checklist Before Requesting Review

sihyung-maxim commented 8 months ago

/clang-format-run