Changes for version 3.1801 - 2026-06-12

  • Fixed undefined behavior in HCSR04.xs _setup(): RPI_PIN_MODE was re-stamped with putenv() of a stack buffer, leaving environ pointing at a dead frame after return; now uses setenv(), which copies its arguments
  • The test suite board gate is now RPI_BOARD (ecosystem-wide rename from PI_BOARD); the old name is no longer honored

Modules

Interface to the HC-SR04 ultrasonic distance measurement sensor on the Raspberry Pi