Skip to content

Remove bcm2835 dependency from PWM tool#4

Open
shpi wants to merge 1 commit intomainfrom
codex/remove-bcm2835-library-dependency
Open

Remove bcm2835 dependency from PWM tool#4
shpi wants to merge 1 commit intomainfrom
codex/remove-bcm2835-library-dependency

Conversation

@shpi
Copy link
Owner

@shpi shpi commented Jul 10, 2025

Summary

  • remove use of /proc/device-tree/soc/ranges
  • probe common peripheral base addresses directly
  • reset PWM hardware before programming registers

Testing

  • gcc -Wall -Wextra -O2 -o /tmp/al3050_pwm bcm2835_tools/al3050_rpi_pwm.c

https://chatgpt.com/codex/tasks/task_e_686f9e0e01788329be6ed085693b8afb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant