Commit Graph

70 Commits

Author SHA1 Message Date
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 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 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 fc4894bd51 NEW: i2c.ReadBlockData(), BUGFIX: Read*Data() in digispark and some small other fixes 2022-10-01 17:33:02 +02:00
Thomas Kohler cac63385db digispark remove useless code in i2c test 2022-04-17 15:02:01 +02:00
Thomas Kohler 63a5bb9360 digispark fix ReadByte & WriteByte, rework and add i2c tests 2022-04-17 15:02:01 +02:00
Ron Evans be798fd42b digispark: remove test that is expected to ofail, but passes when digispark board is actually connected
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-24 20:59:40 +02:00
Ron Evans 99f9156ab7 digispark: remove test method that should not be in adaptor
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-24 20:58:57 +02:00
Gergely Bódi 8f707f0f3f Added some tests for digispark i2c connector 2018-08-22 21:41:45 +02:00
Gergely Bódi 0ed6ab0421 Digispark i2c fixes, added Test for checking available addresses 2018-08-17 20:02:45 +02:00
Gergely Bódi 667e21443a Added i2c to digispark, but not working yet 2018-08-12 00:51:47 +02:00
Ron Evans 7ca9db598f docs: update copyright date to 2018
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 08:24:39 +01:00
deadprogram 431b394589 digispark: update README with latest development info
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
kehribar 160cd9037b littlewire.cc links changed to littlewire.github.io 2017-06-11 00:02:09 +03:00
deadprogram 06efa1855d digispark: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 09:55:04 +02:00
deadprogram 5d90090d57 digispark: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:01:41 +01:00
deadprogram b163b5f2db digispark: fix #288 by using pkg-config to locate libusb-compat includes
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-30 17:52:04 +01:00
deadprogram 885c829a43 license: update license year to include 2017
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:25:17 +01:00
deadprogram 1d83a1fc85 docs: correct Digispark readme link
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 10:51:37 +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 0926a985e1 core: update Digispark platform to simply return error
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram 900bf1d9ea docs: remove Master unless needed for less code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 21:37:10 +02:00
deadprogram 458c750f33 core: refactor/rename internal name of Master type
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:02:54 +02:00
deadprogram 07f674955b core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02:00
deadprogram 12a5cec209 core: Refactor DigiSpark platform for new Adaptor creation signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 20:43:09 +02:00
deadprogram fe057ba6bf misc: update all LICENSE files for current year
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-27 13:12:47 +02:00
Ron Evans 913e9371a7 Merge pull request #290 from dgryski/gosimple
Code cleanups suggested by gosimple
2016-07-15 09:03:02 -06:00
Damian Gryski b5083e67d3 Move interface assertions to test files.
In general, these shouldn't live in the package proper, since they're
actually tests.
2016-07-13 11:04:30 -06:00
Damian Gryski 977c878a8b Code cleanups suggested by gosimple 2016-07-13 09:32:22 -06:00
gmarik e494b9fb99 Refactor to use `gobottest` test helpers 2016-02-22 00:33:58 -05:00
deadprogram be03938851 Corrected dependency install instructions for all current platforms 2015-07-08 16:03:20 -07:00
Adrian Zankich d073a1c39b go lint and documentation tweaks for the digispark package 2015-01-02 07:26:15 -08:00
Adrian Zankich c306033458 Increase digispark test coverage 2014-12-18 12:37:17 -08:00
deadprogram d884299c90 Merge branch 'master' into dev 2014-12-13 18:46:31 -08:00
nathan 4091681da6 update readmes for import script 2014-12-12 10:32:52 -08:00
Adrian Zankich e7694b09cd Fix false positive errors in digispark adaptor 2014-11-29 22:21:35 -08:00
Adrian Zankich 89f3f53e09 Update platforms for new gpio interfaces 2014-11-29 11:51:16 -08:00