-
Notifications
You must be signed in to change notification settings - Fork 76
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
Remove all vestiges of plilb.h from source #623
Comments
Turns out that the quick240 board uses mSYSTEMLock() and mSYSTEMUnlock() from plib.h. |
Turns out that there is a huge rabbit hole here. To replace the mSYSTEMUlock() macro from plib.h, we need to implement DmaSuspend(), which is part of plib.h, and which has different code for each of the three different types of DMA on PIC32. I'm not sure re-writing this section of the plib.h system is worth it at this point. It is unlikely that users will have DMA already turned on when the _board_init() function is called from Board_Data.c on boot time. So I'm just going to ignore DMA for this unlock sequence. |
When I finally get round to finishing my DMA abstraction layer I will add a function dma_suspend() and dma_resume() for you. |
You are so awesome. Thanks Matt! On Wed, Oct 21, 2015 at 8:40 AM, Matt Jenkins [email protected]
|
The original issue should now be fixed. No boards or libraries include plib.h anymore. |
There are a few variants that still include plib.h. Remove these includes.
The text was updated successfully, but these errors were encountered: