-
Notifications
You must be signed in to change notification settings - Fork 3
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
Peripheral library (plib.h) not included in pic32mx #3
Comments
Bryan - just a slight caution about plib.h : the only reason we removed it from chipKIT in the first place was that Microchip was not willing change the license on it to be an open source license. So if you are including it somewhere, be careful that you're OK with the language of Microchip's license. We ended up rewriting all uses of plib in chipKIT-core so that we didn't need it anymore. *Brian |
Many thanks for that information ! What are the libraries that replaces plib in chipkit-core ? I'm currently working with DNETcK libraries to communicate with the chipkit through Ethernet but this library requires plib... I'm also using I2C, timers, output compare ports for PWM etc and I couldn't find any library that efficiently deals with those requirements. |
Bryan, Unfortunately, we don't have a complete set of plib replacement libraries. The good news is that the majority of plib calls' implementation is very *Brian On Tue, Oct 11, 2016 at 9:23 AM, ByranByran [email protected]
|
Hi,
The peripheral library which is no longer supported by chipkit-core (Arduino add-on) and MPLab X is missing in platformIO.
The plib files (plib.h and the file peripherals) can be found in the last version (abandoned) of MPIDE available here :
http://chipkit.net/wiki/index.php?title=MPIDE
following the path : \mpide-0150\hardware\pic32\compiler\pic32-tools\pic32mx\include
You need to add plib.h and the file peripherals in the pic32mx file of platformIO (which is located here : .platformio\packages\toolchain-microchippic32\pic32mx\include) to make it work.
Using this library you can deal with the pic32 funtions such as :
Could be fun to have it directly in platformIO.
Pay attention that you can have some redundancy with some libraries that are added directly in the lib file of a project (I think there is a another timer.h library for arduino).
Regards,
Byran
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37369820-peripheral-library-plib-h-not-included-in-pic32mx?utm_campaign=plugin&utm_content=tracker%2F38217658&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F38217658&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: