Commit Graph

58 Commits

Author SHA1 Message Date
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 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
Erik Agsjö db766f7814 Made C.H.I.P PWM init robust for already enabled state
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-06-15 14:04:08 +02:00
Erik Agsjö dcd861ed6e Fixed PWM duty cycle calculation for C.H.I.P ServoWrite
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-06-15 14:04:08 +02:00
Erik Agsjö b5dccfbc01 Fixed PWM init bug for C.H.I.P
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-06-15 14:04:08 +02:00
deadprogram a364a2356a chip: protect against pin map races
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 15:11:13 +02:00
deadprogram ea4e52d39d chip: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:31:01 +02:00
deadprogram b753aed266 chip: export DigitalPin and PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-28 12:52:08 +02:00
deadprogram 610747b723 chip: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 11:49:29 +02:00
deadprogram 54228b39e2 chip: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 11:22:15 +02:00
deadprogram 3b158402a7 chip: create separate constructor for CHIP Pro, increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 10:04:54 +02:00
deadprogram a0b3e831af chip: corrections needed for sysfs.PWMPin
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 10:44:28 +02:00
deadprogram 0106cbb861 chip: ensure implements PwmWriter interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-22 15:04:20 +02:00
deadprogram 8cfb7db7cd chip: add preliminary support for C.H.I.P. Pro
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-22 13:34:19 +02:00
deadprogram a645b2e373 chip: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-22 12:03:01 +02:00
deadprogram 32a60db75c chip: remove test initialization now being done by default
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-22 12:00:30 +02:00
deadprogram 7d73bf92f4 chip: add back ServoWrite implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-22 11:50:39 +02:00
deadprogram d878957d25 chip: refactoring to use sysfs.PWMPin implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-22 10:43:16 +02:00
deadprogram a99912be4d docs: improve explanations for scp/ssh workflow on SoC boards to README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 15:42:06 +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 959901d22c chip: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 18:35:18 +02:00
deadprogram 7443293d2e chip: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 09:53:52 +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
Erik Agsjö 74da855ea7 Updated README
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-03-23 21:46:47 +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
deadprogram a2f5f7bc91 chip: correct docs to describe valid pin mappings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-16 10:51:44 +01: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
Erik Agsjö f41021c17a Change to make I2C support more than one bus, and use
other access methods than block operations.

Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>

Added ReadWordData to i2c connection

Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>

Code cleanup
2017-02-06 14:57:19 +01:00
deadprogram 2c0119acea chip: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:57:45 +01:00
Erik Agsjö 32e9959968 Tweaked test to match new gpio pin defs
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-01-11 22:21:07 +01:00
Erik Agsjö ccc7504512 Fixed formatting 2017-01-11 01:49:27 +01:00
Erik Agsjö 28c0526cf3 Fixed chip XIO base address lookup
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-01-11 01:45:41 +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 2c274bb606 docs: correct C.H.I.P. readme link
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 10:51:24 +01:00
deadprogram 183f25a832 docs: update GOARM values as needed for cross-compilation
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 18:22:24 +01:00
deadprogram 04db4ddd9f docs: update CHIP to latest info
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-19 16:34:30 +01:00
deadprogram d6ab6b5987 docs: update CHIP to latest info
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-19 16:33:04 +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 4d628eebbc chip: correct ]base for new 4.4 GPIO
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-02 00:01:37 +01:00
deadprogram edc46a6558 chip: corrected platform version mapping, thanks @wfernandes
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-30 10:37:08 +01:00
deadprogram dce211e9c8 chip: default to latest OS version to adjust pin mappings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-27 22:10:04 +01:00
deadprogram 0f64b7f27b chip: auto-detect OS version to adjust pin mappings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-27 21:56:09 +01:00
Warren Fernandes 17c6a16d51 Adds note about the kernel version for CHIP
- The current ChipAdaptor will only support OS 4.3 because of the
GPIO pin mapping.

See http://docs.getchip.com/chip.html#gpio for more details.

Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-11-21 14:19:21 -07:00
deadprogram 84e2757776 core: update C.H.I.P. 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 e30586acf0 core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-04 10:25:14 +02:00