Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
HAL_BCM2835 HAL_BCM2835
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • RiscOS
    • SSources
  • HAL
  • HAL_BCM2835HAL_BCM2835
  • Merge requests
  • !14

Merged
Created Aug 30, 2020 by David Higton@dhigtonDeveloper

Update GPIO pullup/pulldown code to support Pi4

  • Overview 25
  • Commits 2
  • Changes 3

hdr.BCM2835: added 4 equates for offsets to pullup/down control registers that are new with BCM2711. This change is safe on its own but is required by the changes to s.GPIO.

s.GPIO: the way that pullups and pulldowns are controlled in the BCM2711 is completely different from previous models. It's no longer possible to change settings for one line and leave the others unchanged; a whole register at a time must be rewritten. There's more than one way to do it, of course. I opted to update the shadow copies of the pull settings from the hardware and then modify them from there.

Tested on Pi4 and Pi3B+.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: Pi4GPIO