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

Sorry if it's a noob question... #78

Open
jvalrog opened this issue Jul 26, 2016 · 9 comments
Open

Sorry if it's a noob question... #78

jvalrog opened this issue Jul 26, 2016 · 9 comments
Labels

Comments

@jvalrog
Copy link

jvalrog commented Jul 26, 2016

but, why can't I see the bcm2835.rb file here on github?

@zsyed91
Copy link
Collaborator

zsyed91 commented Jul 27, 2016

So we are in the process of rewriting the library a bit. Its actually basically ready for release. I just want to test it a bit more to make sure the release goes smoothly since it breaks backwards compatibility.

You're most likely looking at the development branch. If you change the branch to master you'll see the currently released code.

@maraaaa
Copy link

maraaaa commented Sep 26, 2016

@zsyed91 how's the testing going? Anything I can do to help?

Would you recommend using the development branch at this time?

Thanks!

@elmatou
Copy link
Contributor

elmatou commented Sep 27, 2016

I don't think you should use it for now. The rewrite is based on a plugin gem approach for the drivers.
And the drivers where not yet reviewed by @zsyed91 and released.
https://github.com/PiPiper/bcm2835
https://github.com/PiPiper/sysfs

Each of the drivers use a specific way to handle the gpio (file based access, or the C++ library that access /dev/mem). Sadly this work is stalled for several month now.

@zsyed91
Copy link
Collaborator

zsyed91 commented Sep 27, 2016

Apologies, I've been working on it on the side. I think we're ready for a
release. I'll try and get this out by the weekend. I haven't forgotten
about this :)

I think our approach will work perfectly in this scenario once we release.
Nice to hear from you!

On Sep 27, 2016 12:56 AM, "Marco" notifications@github.com wrote:

I don't think you should use it for now. The rewrite is based on a plugin
gem approach for the drivers.
And the drivers where not yet reviewed by @zsyed91
https://github.com/zsyed91 and released.
https://github.com/PiPiper/bcm2835
https://github.com/PiPiper/sysfs

Each of the drivers use a specific way to handle the gpio (file based
access, or the C++ library that access /dev/mem). Sadly this work is
stalled for several month now.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#78 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHUdjPo94GfjEmp4rCruPg9qSZBVKJw7ks5quMxDgaJpZM4JVe3V
.

@elmatou
Copy link
Contributor

elmatou commented Sep 27, 2016

@zsyed91 good to hear from you too. Ask me for anything when you'll be on it..

@zsyed91
Copy link
Collaborator

zsyed91 commented Sep 27, 2016

Sure will do. I'll ping you tomorrow morning, it's very late here :)

In the mean time, did you do any real world testing with the new changes? I
tested it with a couple sensors and it seems pretty stable.

On Sep 27, 2016 1:02 AM, "Marco" notifications@github.com wrote:

@zsyed91 https://github.com/zsyed91 good to hear from you too. Ask me
for anything when you'll be on it..


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#78 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHUdjC_H-7BwTnegjCuLOxTcca1ctbUSks5quM2ygaJpZM4JVe3V
.

@elmatou
Copy link
Contributor

elmatou commented Sep 27, 2016

yes, Pin works fine for me with sysfs, but won't trigger smoothly with bcm2835 C++ lib.
I have to double check SPI and I2C

@elmatou
Copy link
Contributor

elmatou commented Sep 27, 2016

we really should have a policy about integration testing...

@zsyed91
Copy link
Collaborator

zsyed91 commented Oct 18, 2016

Regarding integration testing, I absolutely agree. There must be a better way than physically hooking everything up 😄 . I think let's do this release and then think of some possible ways we can get integration testing without needing physical hardware. It will probably require a lot of effort but if at all possible will make things way more robust.

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

No branches or pull requests

4 participants