Thomas Kohler
dc4b940834
Build(v2): revert move to v2 subfolder ( #932 ) ( #938 )
...
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:39:03 +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
e3f2ece7ab
Bugfix: raspi pwm cache
...
as addendum to #890
2022-12-05 19:11:17 +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
Mark Kuo
5ca29d0ba9
raspi: export PiBlasterPeriod in Adaptor
...
By setting PiBlasterPeriod to a raspi.Adaptor, the PWM pin will now
reflect the correct duty cycle to /dev/pi-blaster.
Signed-off-by: Mark Kuo <starryalley@gmail.com>
2018-08-16 21:50:13 +10:00
Ron Evans
7637d90440
spi: switch to using periph.io for SPI interfaces
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Herbert Mühlburger
5ee056932a
Refactor TestAdaptorDigitalPinConcurrency test
2017-12-21 22:29:11 +01:00
deadprogram
6b960a08f8
raspi: extract shared SPI init code into spi package
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 13:17:12 +01:00
Ulises Flynn
d362e47874
Remove address from spi code
2017-09-12 00:51:01 -06:00
Ulises Flynn
94f5ded2d6
First cut of the GoPiGo3 driver, lacking grove peripherals.
2017-08-24 23:38:26 -06:00
Michele Della Torre
82ca627857
ran go fmt
2017-05-05 14:51:33 +02:00
Michele Della Torre
b52c9b2b1b
Fixed raspi adaptor race conditions
2017-05-05 13:48:47 +02:00
deadprogram
ac74498342
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:41:24 +02:00
deadprogram
5d157eb2bd
raspi: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 09:24:34 +02:00
deadprogram
efb9f7647d
raspi: add implementation for PWMPinner interface that wraps pi blaster
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 08:37:14 +02:00
deadprogram
9979c8193a
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 17:49:21 +02:00
deadprogram
b81c9ec27a
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-10 04:58:18 +02:00
deadprogram
f261a166f9
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 11:14:31 +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
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
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
e4f0ef72c8
raspi: Add missing godocs and small refactors for platform
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-01 15:08:01 +01:00
deadprogram
16e4184f69
core: update Raspi platform to simply return error
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:52 +01:00
deadprogram
81329858ce
core: Refactor Raspi platform for new Adaptor creation signature
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-01 18:09:04 +02:00
deadprogram
6097ffefc5
tests: complete move of test interfaces into the test files where they belong
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-27 11:56:01 +02:00
gmarik
e494b9fb99
Refactor to use gobottest
test helpers
2016-02-22 00:33:58 -05:00
Adrian Zankich
fe6df92974
Refactor sysfs I2C implementation and add Address parameter to I2C interface functions
2015-07-03 18:57:29 -07:00
Adrian Zankich
93a4c45574
Add raspi pwm pi-blaster support
2015-06-30 16:31:20 -07:00
Adrian Zankich
52e3ffc735
Rename test helpers so they don't impact coverage
2014-12-18 14:07:48 -08:00
Adrian Zankich
ed1dae5288
Refactor raspi revision detection
2014-12-17 13:21:09 -08:00
Adrian Zankich
586507a489
Update Adaptor and Driver interface to use []error
2014-11-19 23:21:35 -08:00
Adrian Zankich
fbc79e1a8f
Update raspi package for new i2c interface
2014-11-19 17:44:08 -08:00
Adrian Zankich
036541476b
Update raspi package for new gpio interface
2014-11-19 12:19:43 -08:00
Adrian Zankich
abc1f0b201
Update platforms to support the new Driver and Adaptor interfaces
2014-11-16 12:25:48 -08:00
Adrian Zankich
94ff30f262
Refactor raspi to use new sysfs interfaces
2014-11-07 16:57:05 -08:00
Adrian Zankich
5ddfd4a848
Add raspi support
2014-11-04 17:14:36 -08:00