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

Fixed the Compute Module 4 pin mode setting. #120

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

toca21
Copy link
Contributor

@toca21 toca21 commented Jul 20, 2021

Compute Module 4 is equal to std platform Rasberry 3, 4 etc, not CM3 family as one might think.
This is a small fix and I have an application that uses at GPIO, Serial and i2c which I have verified.

…std platform, not CM3 family as it turned out.
@toca21
Copy link
Contributor Author

toca21 commented Jul 21, 2021

Ref issue #119

@liffiton liffiton merged commit 7f8fe26 into WiringPi:master Jul 26, 2021
@fanoush
Copy link
Contributor

fanoush commented Sep 20, 2021

Hi @toca21 , now I see you reverted my change from #92
Why? My rationale was that the "wiring pi' pin numbering scheme derived from 40pin raspberry connector makes no sense on CM4 (as well as CM1 or 3) as there is no such connector. So the default was set Broadcom GPIO pin numbering scheme = WPI_MODE_GPIO like on other CM modules.

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.

3 participants