Karan Misra
c76ff101c6
Merge pull request #11 from SjB/gpio/interrupt
...
gpio: adding interrupt
2014-09-10 09:23:36 +05:30
alsm
9401acd013
embd, rpi: determine pi revision, make rev2 pinmap default
...
added a function to determine the revision of the pi the program is
running on from "Revision" field in /proc/cpuinfo, also made the rev2
gpio pinmap the default
2014-09-09 15:57:27 +01:00
SjB
0fa1d1b61c
gpio: adding interrupt
...
this is inspired by Dave Cheney's gpio library and his work on EPOLL
2014-09-02 23:12:55 -04:00
kunalpowar
5965ddf789
spi: fix for breaking build
2014-05-22 03:03:22 +05:30
kunalpowar
32c9a96af5
spi: remove types from const declarations and added few more go docs
2014-05-22 02:58:15 +05:30
kunalpowar
67d316851a
spi: finishing touches
2014-05-22 02:22:18 +05:30
kunalpowar
454eca42d0
spi: got rid of shouldInitialize arg in spibus (redundant).
2014-05-22 02:22:18 +05:30
kunalpowar
9206358abe
spi: refactoring for err handling
2014-05-22 02:22:18 +05:30
kunalpowar
1bb2bac8f1
spi: variables/method name, err handling changes to follow idiomatic go
2014-05-22 02:22:18 +05:30
kunalpowar
59958d7dfc
mcp3008: added package and samples for mcp3008 10-bit 8-channel adc
2014-05-03 21:35:09 +05:30
kunalpowar
42033238e2
spi: use a initializer if required by any host
2014-05-01 22:44:41 +05:30
Kunal Powar
faa686f01c
spi: changes in fields/symbols to follow idiomatic go
2014-04-28 03:13:57 +05:30
Kunal Powar
12db8443b0
spi: added spi feature for all bbb and rpi
2014-04-28 01:18:14 +05:30
Karan Misra
9ac0872493
rpi: led support
...
this adds support for controlling the green LED (the one next to the red
power LED)
2014-04-11 09:12:45 +05:30
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
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