Commit Graph

94 Commits

Author SHA1 Message Date
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 9ce45c0056
add advanced digital pin options (pull, bias, drive, debounce, event) 2023-01-28 12:22:32 +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 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
deadprogram 472856310a i2c: refactor i2c interface definitions out of sysfs into i2c package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-07-12 09:00:35 -06:00
deadprogram c622d8a41f edison: refactor auto-discovery of Edison board option
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 4162b1b402 edison: removed commented lines
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 16bb422d14 edison: protect against pin map races
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 15:11:46 +02:00
deadprogram ff39cf65b5 edison: improve test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 21:12:23 +02:00
deadprogram edd610e1d7 edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 18:15:37 +02:00
deadprogram a73b0f4eee edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 17:25:51 +02:00
deadprogram f84cc5ca1a edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 16:39:39 +02:00
deadprogram fb07036fda edison: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:31:20 +02:00
deadprogram b250670ccb joule: export PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 17:02:47 +02:00
deadprogram e530b3faf7 edison: export DigitalPin and PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-28 12:52:37 +02:00
deadprogram 1b777bffa8 edison: refactoring to reduce code duplication
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 09:18:27 +02:00
deadprogram 13c74f277d edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 09:00:08 +02:00
deadprogram c7cf2fe962 edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 08:54:30 +02:00
deadprogram 6edd6aeae1 edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 08:41:56 +02:00
deadprogram 00de91ecfb edison: corrections needed for sysfs.PWMPin
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 10:44:40 +02:00
deadprogram 4064a608d9 edison: use refactored sysfs interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 23:07:21 +02:00
deadprogram 93565733e0 intel-iot: update Edison and Joule to use sysfs.PWMPin
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 19:51:10 +02:00
deadprogram 0d1362bef1 sysfs: changes needed to allow use of PWMPin from Adaptors
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 19:50:17 +02:00
deadprogram fe23d8ef90 edison: ensure that we initialize tristate if arduino breakout board
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 17:57:24 +02:00
deadprogram 8a50bb24e5 edison: auto-detect arduino breakout board, if no specific board is expected
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 17:33:18 +02:00
deadprogram f63d174d2e edison: move read/write functions within file for organization purposes
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 13:06:25 +02:00
deadprogram 781eacd40a edison: refactor read/write functions and increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 12:59:50 +02:00
deadprogram 8eedc24c75 docs: remove extra references to license where not needed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 21:54:20 +02:00
deadprogram d27d3e50ec docs: add explanations for scp/ssh workflow on SoC boards to README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 15:39:23 +02:00
deadprogram 67f6d168bb intel: increase test coverage for Edison and Joule
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 12:20:45 +02:00
deadprogram 26f9b2fac9 edison: remove pointless error checking code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 18:09:44 +02:00
deadprogram 09df88f142 edison: refactor digital pin creation process method
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 17:59:00 +02:00
deadprogram 17b946cbf4 edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 16:21:01 +02:00
deadprogram 7639656968 edison: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 10:10:10 +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
Marc-Antoine Ruel 88addd428f Add crude travis check for gofmt; format all sources
The check ensures no gofmt regression occurs. Formatting the code makes everyone happy.
2017-03-27 14:10:37 -04: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 b1a23e7dce intel-iot: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:13:39 +01:00