Skip to content
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

Linux GPIO adapter #29

Open
majenkotech opened this issue Feb 22, 2016 · 3 comments
Open

Linux GPIO adapter #29

majenkotech opened this issue Feb 22, 2016 · 3 comments

Comments

@majenkotech
Copy link
Contributor

We could really do with a Linux GPIO adapter that can directly connect the GPIO pins of, for instance, a Raspberry Pi or Yun Shield, to a PIC32 to bit-bang the ICSP protocol direct to the chip.

/sys/class/gpio is the normal Linux interface to the GPIO pins.

@sergev
Copy link
Owner

sergev commented Feb 23, 2016

This is definitely possible. Actually it's pretty easy: start with the existing code from adapter-bitbang.c file and replace a few functions like bitbang_send() and bitbang_recv().

@AndreySV
Copy link

I've found free software program that does exactly this:
https://github.com/WallaceIT/picberry

@sergev
Copy link
Owner

sergev commented Feb 20, 2019

picberry looks pretty good.
So no need to enhance pic32prog: the task is already solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants