Skip to content

Conversation

@ashdriver
Copy link

This change is for the Orange Pi 2G IOT. Previously the GPIO registers were being dereferenced as 8bit instead of 32 bit values, so only lines 0-7 were accessable. Also many pin mappings were incorrect.
Bank 3, GPIOD (pins 96-127) still has an issue I think. I haven't tested all pins on other buses either, but this is a definite improvement on what was there before.

bank 3, GPIOD (pins 96-127) still have an issue I think. Havent tested all pins on other buses either, but this is a definite improvement on what was there before.
Copy link
Author

@ashdriver ashdriver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted pin mapping to match original scheme which had its own logic. Enabled bus2 / GPIOC as it seems to work OK now, at least as input.

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

Successfully merging this pull request may close these issues.

1 participant