Skip to content

Tags: tawawhite/periph

Tags

v3.6.4

Toggle v3.6.4's commit message
bcm283x: golint fix

No functional change.

v3.6.3

Toggle v3.6.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Made column differential work for SSD1306 (google#444)

v3.6.2

Toggle v3.6.2's commit message
Remove go.mod

TL;DR: A project with:
- a valid semver tag equal or above v3.0.0
- with a go.mod file
- but not using versioned imports
is not supported by Go in modules mode; GO111MODULE=on on previous
version, and anything but GO111MODULE=off on likely 1.13 or newer when
the default is switched.

The only way to keep it working simultaneously on versions below 1.9.7
and above 1.11 in go module mode is to remove the go.mod file.

It is currently expected that v4.0.0 will be released with a go.mod
file, which will break Go toolchains before 1.9.7. As a note, the
minimum tested version is currently 1.7.6.

Even then, there's some fun. This is because of the source files using
'// +build periphextra'. The tag 'periphextra' only has effect when
building executables under cmd/ and experimental/cmd/. When set, these
executables call hostextra.Init() from periph.io/x/extra/hostextra
instead of host.Init() from periph.io/x/periph/host. The reason is that
periph.io/x/extra contains all drivers that have external dependencies,
while periph.io/x/periph itself aims to not have any external
dependencies. Yet, it's useful to be able to use, let's say, a FT232H
with cmd/gpio-read. Hence the optional build tag.

The problem is that then go mod complains, because it sees the
periph.io/x/extra/hostextra import, and wants to add it as a dependency
in go.sum. Hello circular dependency! I'm not yet sure how I'll handle
this beside hacking manually the go.sum file or removing this option at
all.

v3.6.1

Toggle v3.6.1's commit message
bcm283x: fix invalid aliasing; causing failure on RPi1 and RPi Zero

The regression was introduced in
3d9b008, so version v3.2.0 up to v3.6.0
are affected.

Add smoketest to catch regressions. Manually tested on a RPi1 and RPiZW.

Fixes google#420

v3.6.0

Toggle v3.6.0's commit message
mpu9250: heavy doc cleaning.

No functional change but add a lot of TODOs.

v3.5.0

Toggle v3.5.0's commit message
fs/sysfs: MIPS: Don't translate all IOCTLs (google#402)

Some IOCTLs are fixed, e.g. i2c-dev. There, we must not translate the
IOCTLs. Instead, the IOCTLs are generated arch-dependent in the fs
package.

- fs: add IO() IOR() IOW() IORW() functions for the equivalent linux macros.
- videocore: Replace ioctl magic with derived value.
  Beside being clearer, the comment in the code was incorrect. The message
  box magic is in fact 'd' = 100 = 0x64, not 0x100.
- videocore: Use dynamic pointer size for ioctl.

v3.4.0

Toggle v3.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
i2c: Adds i2c.Addr type and flag.Value interface. (google#362)

* i2c: Adds i2c.Addr type and flag.Value interface.

Add i2c.Addr
Add i2c.Addr Set()
Add Tests.

v3.3.0

Toggle v3.3.0's commit message
mt7688: Fixes pin function naming (google#313)

v3.2.0

Toggle v3.2.0's commit message
ina219: add i2c driver for high side current and voltage sensor (goog…

…le#292)

v3.1.0

Toggle v3.1.0's commit message
bmxx80: fix humidity sensing

It regressed in 6423b54. :( This is due to
integer overflow. Tested against the executable compiled from periph v2.

Refactor the tests to make the error messages clearer.

Fixes google#256