Commit Graph

1735 Commits

Author SHA1 Message Date
deadprogram 5f82e8eb43 microbit: add supported driver to README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:23:38 +01:00
deadprogram 132080f63a microbit: add temperature driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:22:17 +01:00
deadprogram 88a260a221 microbit: add magnetometer driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:09:43 +01:00
Ron Evans 248fea6238 Merge pull request #386 from erkkah/drv2605-bugfix
Small bugfix for the DRV2605 driver
2017-03-15 22:00:36 +01:00
Erik Agsjö 5a5f6eb52b Added tests for mocked Stat implementation
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-03-14 00:32:53 +01:00
Erik Agsjö 13c3c111d5 Added more tests for PWM
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-03-14 00:11:06 +01:00
Erik Agsjö e125805554 Added basic test for CHIP PWM functions
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-03-13 22:56:18 +01:00
Erik Agsjö 5593924945 Added PWM0 support to c.h.i.p
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>

Updated C.H.I.P README

Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-03-13 21:43:50 +01:00
Marc-Antoine Ruel 50d5869808 Fix go test ./...
Make all examples to not be built by default by adding the build tag 'example'.
Some files were automatically reformatted by goimports upon saving.
2017-03-13 11:01:39 -04:00
deadprogram b538f4db80 microbit: update docs
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-10 12:37:32 +01:00
Ron Evans b7791a9c6c Merge pull request #381 from erkkah/i2c-remove-smbusblock
Removing SMBus block operations from I2C layer
2017-03-10 02:26:56 +01:00
deadprogram 3fdf0639e1 microbit: add accelerometer implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-01 01:23:50 +01:00
deadprogram ec9de10a10 microbit: improve button implementation, add integrated example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 20:19:09 +01:00
deadprogram 9634a9822c microbit: initial implementation for built-in buttons
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 20:03:20 +01:00
deadprogram 44de8014c5 microbit: initial implementation for LEDs
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 19:40:16 +01:00
Erik Agsjö 732847196d Fixed a bug where drv2605 keeps triggering after shutdown
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-28 00:54:21 +01:00
Erik Agsjö ea93b203bd Added more capabilities checks for I2C
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-27 23:40:14 +01:00
Erik Agsjö f0873adea6 Removed smbus block operations
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-27 20:53:01 +01:00
deadprogram fc23d52a6b docs: add contact info to CoC
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-26 19:49:31 +01:00
deadprogram 4fcc9a4ec6 docs: update CoC based on Contributor Covenant
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-26 19:43:06 +01:00
deadprogram a6936c7dec test: use covermode count for test performance
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-25 14:43:33 +01:00
deadprogram 77c352daf6 test: use covermode atomic for codecov.io
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-25 14:34:03 +01:00
deadprogram acb7046f7a test: complete test coverage for Eventer
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-25 13:55:41 +01:00
deadprogram c54763046b test: add test coverage for JSONDevices
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-25 12:31:41 +01:00
deadprogram 2bba294b2f test: begin splitting tests into separate files for better separation of testing concerns
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-25 12:00:32 +01:00
deadprogram 9f838bd0ae i2c: update list of supported i2c devices
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-24 08:19:20 +01:00
deadprogram 2934bdf994 dragonboard: correct reference in README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-24 08:18:55 +01:00
Ron Evans fa3738f4bf Merge pull request #379 from thetooth/dev
DragonBoard 410c
2017-02-24 08:12:14 +01:00
Jeffrey Jenner 1cc9cc96f5 Fixed docs and added example 2017-02-24 02:07:02 +10:00
Jeffrey Jenner a957de9d7d Clean up, fixed tests. 2017-02-24 01:54:13 +10:00
deadprogram 65fd971c85 test: correct Travis tests suite to indicate failure by returning proper exit code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-23 11:51:16 +01:00
Jeffrey Jenner 83896d1599 Add license/readme (not complete)
Signed-off-by: Jeffrey Jenner <thetooth@ameoto.com>
2017-02-23 20:18:21 +10:00
Jeffrey Jenner 6bcc12c0f4 Intial dragonboard HAL 2017-02-23 20:12:17 +10:00
deadprogram 4ab1c695a0 test: only cat test coverage output file whene said file exists
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-22 22:30:06 +01:00
deadprogram 43604035fc core: write test for robot's devices Halt()
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-22 21:51:57 +01:00
Ron Evans 43e6566280 Merge pull request #375 from erkkah/drv2605l-driver
Driver for the DRV2605L haptic controller
2017-02-22 08:06:55 +01:00
Ron Evans d9e97f86ad Merge pull request #373 from erkkah/tsl2561-driver
Driver for the Adafruit TSL2561
2017-02-22 08:04:11 +01:00
Erik Agsjö a144fd6ebe Added simple example for DRV2605L on C.H.I.P
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-21 22:53:43 +01:00
Erik Agsjö 29c6a1451e Added simple example for TSL2561 on C.H.I.P
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-21 22:47:21 +01:00
deadprogram 8895f608e6 test: improvements to run tests much faster thanks @maruel
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-21 18:45:42 +01:00
Erik Agsjö 9b0425480d Minor doc readability change
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 23:51:13 +01:00
Erik Agsjö d8661ec444 Updated TSL2561 driver to latest i2c changes
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 23:24:12 +01:00
Erik Agsjö 91ac234094 Fixed TSL2561 driver tests
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö e7e0fde3fc Moved to ReadWordData for TSL2561, fixed weird problem
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö 96987554c2 Updated tsl2561 driver to use new I2cConnector
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö daa0af365a Added driver for Adafruit TSL2561
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:44:08 +01:00
Erik Agsjö c91465c8ce Adapted DRV2605L driver to latest i2c changes
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:43:27 +01:00
Erik Agsjö e9b05a9b4a Updated DRV2605L driver to new I2C interface
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-20 22:43:27 +01:00
Erik Agsjö c889755027 New driver for Adafruit DRV2605L
Cleanup, added more tests for DRV2605L driver

Fixed documentation + formatting
2017-02-20 22:43:27 +01:00
deadprogram 3650241fce test: remove TravisCI tests for go 1.6
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-17 08:30:18 +01:00