bskari / pi-rc

Turn your Raspberry Pi into a radio controller for RC toys.
GNU General Public License v2.0
139 stars 38 forks source link

Support the Raspberry Pi 2 #14

Closed bskari closed 8 years ago

bskari commented 9 years ago

The Raspberry Pi changed how the DMA is initialized. This should detect if it's being run on a Pi 2 and use the new DMA. In the short term, it should detect if it's running on a Pi 2, issue an error, and exit.

ghost commented 9 years ago

:+1:

bskari commented 8 years ago

So, I copied some changes from another project, rpitx, to try and support the Pi 2. The problem is, I think the GPIO pins on my Pi 2 are dead, so I can't test this. Also, my Pi A+ USB port is dead, and I can't find my Pi Zero, so I can't even test that this works on the old version. If anyone has a working Pi and would like to test, I have a branch named pi2 that I would love to get tested.

This is mostly a stop gap because I've gotten some requests for it though. I've been working on adding a Python interface to rpitx, and adding RC support as well. rpitx already does a lot more stuff than my library, and is better supported, so when I get that working, I'll probably move all support over to there.

jcdickinson commented 8 years ago

I'm going to be looking into using this when an RC is delivered. Still the same pin?

bskari commented 8 years ago

Yes, still the same pin. I just got an email from another user who said this didn't work for them, but it still works for their Pi 1, so I'm going to need to do some more testing.