Commit Graph

72 Commits

Author SHA1 Message Date
Thomas Kohler 8ae4667701
adaptors(pwm): introduce scale option for servo (#1046) 2023-12-05 20:26:28 +01:00
Thomas Kohler be1ccf07e4
gpio(all): introduce functional options (#1045) 2023-12-03 18:03:02 +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 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 124499d9ce
adaptors(PWM): fix wrong duty cycle after kill program (#994) 2023-10-19 18:08:03 +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 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 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 9cbc7acf94
Bugfix/Improvement: Use PWMPinsAdaptor for platforms 2022-12-05 18:28:57 +01:00
Thomas Kohler 89afbcf85b
Bugfix/Improvement: Use DigitalPinsAdaptor for platforms 2022-12-01 17:33:33 +01:00
Thomas Kohler 45ee9c3644
gpio: add support for new character device Kernel ABI 2022-11-27 16:06:09 +01:00
Thomas Kohler be92fb6f9e
rename package "sysfs" to "system" 2022-11-20 19:22:26 +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 5977c05f6c fix PWM related read/write tests 2022-09-25 14:26:57 +02:00
Ron Evans f54403303d beaglebone: update pin naming, docs, and examples for the latest Debian OS releases
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-13 19:36:40 +01:00
deadprogram 066a444aec beaglebone: add SPI support and remove last vestiges of slots
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-19 16:45:16 +01:00
deadprogram b5e6f8e422 pocketbeagle: add support for PocketBeagle
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-19 13:42:49 +01:00
deadprogram 165a6f8798 beaglebone: use universal io cape manager to initialize board setup
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-19 12:03:41 +01:00
deadprogram 5952b7aab4 beaglebone: use glob to find variations of pwm for mappings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-16 16:23:06 +01:00
deadprogram 07a24b2f69 beaglebone: handle gpio pinmux without relying on specific pre-existing setup
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-14 14:54:42 +01:00
deadprogram 4ac652ab19 beaglebone: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 12:59:49 +02:00
deadprogram 983dec83ea beaglebone: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 11:51:18 +02:00
deadprogram 4d49cd4ed2 beaglebone: remove code no longer needed and increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 11:30:54 +02:00
deadprogram 2fe46b2017 beaglebone: implement DigitalPinner and PWMPinner interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 10:38:45 +02:00
deadprogram 56f5cae792 beaglebone: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 10:59:48 +02:00
deadprogram de3f45b089 beaglebone: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 18:40:29 +02:00
deadprogram 0fb1b659d6 beaglebone: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 18:29:31 +02:00
deadprogram 3395daab0d beaglebone: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 09:52:34 +02:00
deadprogram d405b7a5c7 test: remove test code no longer being called
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 15:57:23 +02:00
deadprogram 51f6aba47c i2c: refactoring of the interface/implementations based on feedback and golinter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:08:32 +01:00
deadprogram 22d148b6fa beaglebone: correct i2c buses to match actual mapping
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-08 10:36:04 +01:00
Erik Agsjö 09142c55ee Refactored platforms to new I2C interfaces
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 15:06:03 +01:00
deadprogram b99e935b81 test: correct aio references for AnalogRead tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 15:54:00 +01:00
deadprogram 953c3254e7 core: use canonical import domain of gobot.io for all code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram 50394b6f5a beaglebone: set test target kernel version
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-03 14:09:38 +01:00
deadprogram 8b98541563 beaglebone: more testing of 4.4 kernel
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-03 14:03:05 +01:00
deadprogram fc2d98f9e7 beagleboard: now works on kernel 4.4+ of Debian
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-03 13:18:10 +01:00
deadprogram 055fcbf423 beaglebone: mapping and tests to match the 4.x kernel
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-27 13:37:23 +01:00
deadprogram aba3636c86 core: update Beaglebone platform to simply return error
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00