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

Bus error #4

Closed
Niek0z opened this issue Jun 24, 2015 · 1 comment
Closed

Bus error #4

Niek0z opened this issue Jun 24, 2015 · 1 comment

Comments

@Niek0z
Copy link

Niek0z commented Jun 24, 2015

Code generates a bus error when the GPIO's are not exported via /sys/class/gpio.
I did'nt do in depth research but I've heard it might be a clock issue.

BTW,
This is a exelent library for the HD44870 displays. I had some stability issues in my own code.
4-bit interface is tested and works a treat!

@CJxD CJxD mentioned this issue Aug 13, 2015
@piranha32
Copy link
Owner

This is an issue with GPIO modules not being enabled by default. Exporting pins from /sys ensures that the module is enabled and there should no problems using it. I tried to find out if it is possible to enable GPIO from device tree, but at that time I could not do it.
Accessing HW module which has not been enabled will cause BUS error.

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

2 participants