Skip to content

Remove hcsr04 (superseded by the official bundle's adafruit_hcsr04) - #295

Merged
FoamyGuy merged 1 commit into
adafruit:mainfrom
mmabey:remove-hcsr04
Nov 16, 2026
Merged

FoamyGuy merged 1 commit into
adafruit:mainfrom
mmabey:remove-hcsr04

Conversation

@mmabey

@mmabey mmabey commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes the hcsr04 submodule (mmabey/CircuitPython_HCSR04), its .gitmodules entry, and its line in circuitpython_community_library_list.md.
  • This driver is superseded by adafruit/Adafruit_CircuitPython_HCSR04, already in the official Adafruit CircuitPython Bundle as adafruit_hcsr04, with more complete functionality (timeout handling, a bitbang fallback for boards without pulseio). Keeping the original here under a separate module name no longer serves users and risks pointing people at the unmaintained version instead.
  • I'm the author/maintainer of the hcsr04 repo being removed; mmabey/CircuitPython_HCSR04's README now also notes it's superseded.

Test plan

  • Confirm the bundle build still succeeds without this submodule

adafruit/Adafruit_CircuitPython_HCSR04 is the actively maintained fork
of this driver, already in the official Adafruit CircuitPython Bundle
under the adafruit_hcsr04 module name. Keeping the original here under
the separate hcsr04 module name is no longer useful and risks pointing
people at the unmaintained version.

@FoamyGuy FoamyGuy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you.

@FoamyGuy
FoamyGuy merged commit f9227e8 into adafruit:main Nov 16, 2026
1 check passed
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.

2 participants