-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat(PeriphDrivers): Add SPI v2 support to MAX32690 #964
Conversation
The Build_Examples workflow is failing because it can't find the new SPI source files... Had this same issue when the AI87 SPI v2 dirivers were added. It doesn't seem like the runner references the PR's Libraries? |
@sihyung-maxim I can replicate the error if I build PeriphDrivers for v1 and try to build the v2 example immediately afterwards. The build system doesn't know to re-build the library if settings have changed across different projects. We worked around this with Cordio by modifying the name/filepath of the library file itself. i.e. I implemented this for the PeriphDrivers in 71bf46a |
- Moves MXC_SPI_VERSION default definition to periphdriver.mk and sets default to 'v1' - Set the PeriphDrivers default build folder and filename based off of the SPI version (ex: libPeriphDriver_spi-v1_softfp.a) - Define MXC_SPI_V2 for v2 builds
71bf46a
to
2895589
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also update the developer note in the UG to list the devices that are currently supported by the V2 drivers?
This reverts commit 755e6ff.
Description
This PR adds SPI v2 support to MAX32690.
Checklist Before Requesting Review