Commit Graph

392 Commits

Author SHA1 Message Date
Thomas Kohler a8f47eaae8
build(go, deps): switch to Go 1.22 and update modules (#1093) 2024-11-01 12:54:20 +01:00
Thomas Kohler bfba1ab9e0
i2c/spi: remove offensive terminology (#1071) 2024-02-13 18:16:18 +01:00
Thomas Kohler 27d0b2164c
doc: update links to release or tagged branch (#1069) 2024-02-13 15:58:31 +01:00
Thomas Kohler d76143ccb8
build(linter): update linter to v1.56.1 and fix issues (#1068) 2024-02-13 14:19:03 +01:00
Thomas Kohler 026fd03532
test: try to stabilize eventer tests (#1066) 2024-02-13 10:33:46 +01:00
Thomas Kohler cb1f952d27
megapi: use serialport adaptor and move driver to drivers/serial (#1062) 2024-02-12 18:19:20 +01:00
Thomas Kohler e2b710bfe7
neurosky: use serialport adaptor and move driver to drivers/serial (#1061) 2024-02-12 16:27:08 +01:00
Thomas Kohler d2b01b99e0
examples: fix missing checks of return values (#1060) 2024-02-11 15:34:50 +01:00
Thomas Kohler d96aa52fb9
ble: add support for functional options, add tests (#1059) 2024-02-10 18:02:09 +01:00
Thomas Kohler 3ac63bfd27
ble: introduce in drivers folder (#1057) 2024-02-04 18:50:43 +01:00
Thomas Kohler be1ccf07e4
gpio(all): introduce functional options (#1045) 2023-12-03 18:03:02 +01:00
Thomas Kohler d139c0ac7e
aio(thermalzone): add driver for read a thermalzone from system (#1040) 2023-11-27 16:42:42 +01:00
Thomas Kohler 916c2bad18
aio(analog sensor): fix deadlock in cyclic reading (#1042) 2023-11-26 19:41:02 +01:00
Thomas Kohler 39808451cf
aio(all): introduce functional options (#1039) 2023-11-23 19:01:42 +01:00
Thomas Kohler 7f78edefcd
lint(all): fix issues of errorlint etc (#1037) 2023-11-15 20:51:52 +01:00
Thomas Kohler aee81436c9
lint(all): switch to 1.55.2 and adjust linter issues (#1036) 2023-11-12 14:17:02 +01:00
Thomas Kohler 04fa579371
i2c(core): fix problems with usage of uintptr (#1033) 2023-11-11 19:31:25 +01:00
Thomas Kohler a04ce8a7f2
gpio: fix data race in StepperDriver (#1029) 2023-11-09 20:31:18 +01:00
Thomas Kohler 9e311b28e4
gpio: fix data race in PIRMotionDriver (#1028) 2023-11-01 15:49:02 +01:00
Thomas Kohler c41604f5f9
gpio: fix data race in ButtonDriver (#1027) 2023-11-01 14:51:07 +01:00
Thomas Kohler 6ef7450e2e
gpio: fix data race in EasyDriver (#1025) 2023-10-31 18:12:07 +01:00
Thomas Kohler 458a1f43b8
aio: fix data race in AnalogSensorDriver (#1024) 2023-10-30 19:11:58 +01:00
Thomas Kohler 693cbf158d
i2c(PCA9685, adafruit): clean up architecture and fix init (#1021) 2023-10-29 19:35:26 +01:00
Thomas Kohler f219a4055d
gpio(hcsr04): add driver for ultrasonic ranging module (#1012) 2023-10-27 21:06:07 +02:00
Thomas Kohler f7f482010b
tests(gpio,aio): cleanup helper_test (#1018) 2023-10-27 20:46:45 +02:00
Thomas Kohler 002c75ce88
test(all): substitude assert.Nil by assert.NoError if useful (#1016) 2023-10-26 20:34:19 +02:00
Thomas Kohler f9950e247d
test(all): substitude assert.Error by assert.ErrorContains (#1014) 2023-10-25 20:21:18 +02:00
Thomas Kohler ee4368b10f
test(all): substitude assert.Errorf by assert.Error (#1011) 2023-10-21 10:08:03 +02:00
Thomas Kohler a4a8d1079c
build(style): switch to gofumpt and add linters (#1009) 2023-10-20 20:50:42 +02:00
Thomas Kohler 3039b2c7cb
test(all): switch to test package stretchr testify (#1006) 2023-10-20 10:27:09 +02:00
Thomas Kohler ad12eaca69
system(syscall): switch to x/sys (#963) 2023-06-19 16:06:44 +02:00
Thomas Kohler 314a808200
ble: simplify and substitute errors.Wrap() (#958) 2023-06-14 18:27:22 +02:00
Thomas Kohler f5d8d5c601
all(style) : fix linter issues for errcheck, ineffassign, unused and fix errors (#950) 2023-06-12 19:51:25 +02:00
Thomas Kohler 0d0a508c60
core(build): CLI removed (#946)
* core(build): CLI removed
* adjust install instructions in doc and README
* fix master_test and remove useless/duplicated tests examples_test.go
2023-06-04 18:36:55 +02:00
Thomas Kohler 865e724af0
Build(v2): revert move to v2 subfolder (#932)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler 949392d8a7
Fix(core): Semantic Import Versioning for v2 (#921) 2023-05-20 14:25:21 +02:00
Thomas Kohler fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" (#917)
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
Thomas Kohler 946131356e
fix/add some comments (#901) 2023-02-14 13:57:24 +01:00
Thomas Kohler c8335aaf85
BUGFIX: I2C connection-bus caching and multiple device usage 2023-02-04 13:22:22 +01:00
Thomas Kohler 6c7ecbe584
SPI using GPIO's plus driver for MFRC522 2023-01-05 19:04:32 +01:00
Thomas Kohler fdf4f4b194
Bugfix/Improvement: Introduce SpiBusAdaptor and spi.Driver for composition in platforms/drivers
and fix for #794
2022-12-17 11:56:11 +01:00
Thomas Kohler cef04066e3
Improve: use base driver for all I2C devices 2022-12-10 13:10:23 +01:00
Thomas Kohler 3559e7892e
Introduce I2cBusAdaptor for composition in platforms 2022-12-08 19:29:51 +01:00
Thomas Kohler be92fb6f9e
rename package "sysfs" to "system" 2022-11-20 19:22:26 +01:00
Thomas Kohler 34f7e77561
add PCA953x i2c driver 2022-11-13 18:47:19 +01:00
Thomas Kohler 421135fcc2 BUGFIX/IMPROVEMENT: sysfs accesser 2022-11-09 17:30:57 +01:00
Thomas Kohler 45abf11acc BUGFIX: tests with sysfs mocks 2022-10-30 18:47:56 +01:00
Thomas Kohler 9d1fd13a2f i2c PCF8583 clock and counter driver introduced 2022-10-22 13:12:09 +02:00
Thomas Kohler dd8a49c8cb GrovePi add read firmware version and DHT sensors 2022-10-21 16:33:09 +02:00