SjB
0e820bad5b
Merge remote-tracking branch 'kidoman/master'
...
* kidoman/master:
i2c: added debug logs
i2c: fixed missing init call
2014-04-09 22:53:49 -04:00
Kunal Powar
68ba342e1b
i2c: added debug logs
2014-04-10 07:38:14 +05:30
Kunal Powar
2ee0cbc899
i2c: fixed missing init call
2014-04-10 07:29:06 +05:30
SjB
5f8a0fced0
Stop Watching pin when Closing
...
Closing a pin will automatically check and close any pin that where being
watch for interrupt.
2014-04-09 00:38:19 -04:00
SjB
919b01a3a2
Refactored Interruptable GPIO codes
...
Created two new Interface and hid implementation details as much as possible.
2014-04-09 00:01:05 -04:00
SjB
a54e7dc7ff
Initial attempt to implemented GPIO Interrupts
...
Basicly imported Dave Cheney's code from
http://github.com/davecheney/gpio
2014-04-08 23:09:21 -04:00
Karan Misra
c35deeb17c
host specific drivers can now be loaded separately
...
this ensures cleaner abstractions/code and will ensure that the produced
binary is as small as possible. a convenience package is provided to
easily load all hosts easily: "github.com/kidoman/embd/host/all"
2014-04-06 06:50:09 +05:30
Karan Misra
36f2c0486d
simplify package structure
2014-03-03 00:51:23 +05:30
Karan Misra
3cae4064dc
be specific about the unsupported host
2014-03-02 19:39:30 +05:30
Karan Misra
1ebbe540a5
remove trailing white space
2014-03-02 19:39:04 +05:30
Karan Misra
4e67e7eb11
fix a bunch of build errors
2014-03-02 12:09:57 +05:30
Karan Misra
d0cc5f4e35
fixed parsing of the raspberry pi's kernel version
2014-03-02 01:54:01 +05:30
Karan Misra
02defd2cc0
adhere to the go style guide
2014-03-02 01:21:52 +05:30
Karan Misra
3d08995000
make the framework easier to begin with
2014-03-01 20:19:44 +05:30
Karan Misra
ef87ad7879
make the process of registered available hosts less clunky
2014-02-27 05:59:38 +05:30
Karan Misra
2504678ba9
move the generic gpio/i2c drivers to their own folder
2014-02-27 05:34:36 +05:30
Karan Misra
860de34cb2
bbb: do not export pins
2014-02-27 05:21:24 +05:30
Kunal Powar
66d0ab22fd
added BeagleBone Black (bbb) as one of the supported hosts
2014-02-27 05:17:21 +05:30
Karan Misra
6ea4e31399
more streamlining
2014-02-27 04:44:50 +05:30
Karan Misra
b5e2d0acc7
bring in the idea of a hardware abstraction layer
2014-02-27 04:24:53 +05:30