analogdevicesinc / msdk

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

fix(MiscDrivers,PeriphDrivers): Fix TMR and TFT build errors for MAX32570 #901

Closed sihyung-maxim closed 8 months ago

sihyung-maxim commented 8 months ago

Description

Related to issue https://github.com/Analog-Devices-MSDK/msdk/issues/900

This PR fixes the build errors for MAX32570A as a result of the changes made for the MAX32572 and MAX32570B.

The previous changes made in tmr.h were directed towards the MAX32570B, but did not take into account of the existing MAX32570A naming convention.

The TFT drivers used the incorrect SPI definitions for the MAX32570A.

Checklist Before Requesting Review

sihyung-maxim commented 8 months ago

/clang-format-run