Skip to content

Releases: elixir-circuits/circuits_gpio

v1.0.1

27 Jul 19:14
Compare
Choose a tag to compare
  • Bug fixes
    • On at least one device, the pin direction reported by Linux does not match
      the actual pin direction. This release forces the pin direction for inputs.
      It cannot do this for outputs, since setting a pin to output has a side
      effect on the pin state. This technically is a bug in a Linux driver port,
      but it was harmless to workaround for inputs so that's what's done. Thanks
      to @pojiro for investigating and fixing this issue.

v1.0.0

22 Oct 00:47
Compare
Choose a tag to compare

This release only changes the version number. No code has changed.

v0.4.8

11 Jul 03:52
Compare
Choose a tag to compare

This release only has doc and build output cleanup. No code has changed.

v0.4.7

11 Jul 03:52
Compare
Choose a tag to compare
  • Bug fixes
    • Fix hang when unloading the NIF. This bug caused :init.stop to never
      return and anything else that would try to unload this module.
    • Fix C compiler warnings with OTP 24

The minimum Elixir version has been changed from 1.4 to 1.6. Elixir 1.4 might
still work, but it's no longer being verified on CI.

v0.4.6

23 Sep 16:25
Compare
Choose a tag to compare
  • Bug fixes
    • Fix quoting issue that was causing failures on Yocto. Thanks to Zander
      Erasmus for this.

v0.4.5

25 Feb 15:35
Compare
Choose a tag to compare
  • Bug fixes
    • Opening a GPIO to read its state won't clear the interrupt status of another
      listener. Registering for interrupts a second time will still clear out the
      first registree, though. That's a limitation of the interface. However, for
      debugging, it can be nice to look at a GPIO without affecting the program
      and this change allows for that.

v0.4.4

09 Jan 02:06
Compare
Choose a tag to compare
  • Bug fixes
    • Add -fPIC to compilation flags to fix build with nerves_system_x86_64 and
      other environments using the Musl C toolchains

v0.4.3

05 Nov 17:31
Compare
Choose a tag to compare
  • Bug fixes

    • Fix GPIO glitch suppression when interrupts were enabled. Glitch suppression
      filters out transitions on a GPIO line that are too fast for Linux and the
      NIF to see both the rising and falling edges. Turning it off synthesizes
      events. You can identify synthesized events since they have the same
      timestamp to the nanosecond. See Circuits.GPIO.set_interrupts/3.
  • Improvement

    • It's possible to enable the "stub" on Linux by setting
      CIRCUITS_MIX_ENV=test. This can be useful for unit testing code that uses
      Circuits.GPIO. Thanks to Enrico Rivarola for adding this!

v0.4.2

20 Sep 13:19
Compare
Choose a tag to compare
  • Bug fixes
    • Fix pullup/pulldown support for the Raspberry Pi 4

v0.4.1

10 Mar 22:56
Compare
Choose a tag to compare
  • Bug fixes
    • Fix a race condition on Raspbian where Circuits.GPIO would try to open the
      GPIO sysfs file before udev had a chance to fix its permissions.
    • Fix RPi platform detection on Raspbian so that pull-ups/pull-downs work
      without passing any flags.