Skip to content

Conversation

bkenobi
Copy link

@bkenobi bkenobi commented Nov 30, 2020

This update will cause the raspberry-sharp-system library to report the correct chip rather than relying on the OS reported processor. Since Raspbian Jessie the CPU has been reported as BCM2835 regardless of actual hardware. As a result, the update in June 2020 was required. However, this update only addressed RPi4 and all other boards would not function. This update extends the same approach to correctly report the CPU.

Note that this update reports the CPU for RPi3 as BCM2709 rather than BCM2710. Since both use the same address for GPIO and the BCM2710 is not included in the raspberry-sharp-io library, this is a slight hack to remain compatible. If that library were updated to include the BCM2710 hardware, the code in this library should be updated.

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