Releases: elixir-circuits/circuits_spi
Releases · elixir-circuits/circuits_spi
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0.0-pre.0
This is a major update to Circuits.SPI that removes the requirement to use
Nerves or Linux. The API is almost the same and the default is to compile and
use the Linux backend, so changes may not be needed.
This is a prerelease so APIs may still change before the v2.0.0 release.
- Changes
- Support alternative backends for different operating systems or for
simulated hardware - Defer loading the Linux NIF until
Circuits.SPI.open/2
is called
- Support alternative backends for different operating systems or for
v1.4.0
v1.3.0
- Updates
- Add
transfer!/2
. This function is the raising version oftransfer/2
.
Thanks to @mnishiguchi for this.
- Add
v1.2.0
- Updates
- Add the
:lsb_first
option to support SPI transfers that send the least
significant bit first rather than the most significant one. If the bit
reversal isn't supported by the hardware, a software version is used. - Add
config/1
to return the configuration for an SPI bus reference. This is
useful for checking what is actually being used. - Update
transfer/2
to supportiodata
. This makes the interface more
convenient since now you can prepend SPI message headers in your code
without having to concatenate binaries. - Support full paths being passed to SPI devices in
open/2
. Previously this
resulted in errors, but it was easy to forget.
- Add the