Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: elixir-circuits/circuits_i2c
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: elixir-circuits/circuits_i2c
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: maint-v1.x
Choose a head ref
  • 8 commits
  • 5 files changed
  • 3 contributors

Commits on May 13, 2023

  1. Configuration menu
    Copy the full SHA
    dc5e760 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07edf4f View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Bump ex_doc from 0.29.4 to 0.30.1

    Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.29.4 to 0.30.1.
    - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
    - [Commits](elixir-lang/ex_doc@v0.29.4...v0.30.1)
    
    ---
    updated-dependencies:
    - dependency-name: ex_doc
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored and fhunleth committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    de1e3b8 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2023

  1. Configuration menu
    Copy the full SHA
    cbc8c06 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Configuration menu
    Copy the full SHA
    4918065 View commit details
    Browse the repository at this point in the history
  2. Defer loading the NIF until opening an I2C bus

    This change moves the NIF load from the time at which the module is
    loaded to the time when I2C actually is used.
    
    The primary motivation for doing this is to defer native code crashes
    from happening at load time to the time of first use. Load time is
    harder to debug and sometimes its not clear which NIF caused the crash.
    
    The calls to `apply` get around some complexity with ignoring Dialyzer
    warnings. Dialyzer can't figure out that the recursive looking call
    actually invokes the NIF code.
    fhunleth committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    0207cdc View commit details
    Browse the repository at this point in the history
  3. Use nicer atoms for I2C bus errors

    These errors can happen when the I2C bus hangs or a zero-byte transfer
    is tried, but not supported. There are two kinds of timeouts:
    
    * `{:error, :timeout}` - Seen on Allwinner when the I2C bus is hung by a
      device pulling SDA low. If the device tree/Linux isn't configured to
      recover and the SDA line isn't released, then the error will continue.
    * `{:error, :retry}` - Seen on Beagleboards (TI AM335x) when the I2C bus
      is hung and there's an attempt to recover the bus.
    fhunleth committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    7e9d9df View commit details
    Browse the repository at this point in the history
  4. Bump CI to latest

    fhunleth committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    e2e38c6 View commit details
    Browse the repository at this point in the history
Loading