1
0
mirror of https://github.com/kidoman/embd synced 2024-11-14 05:28:54 +01:00
Commit Graph

143 Commits

Author SHA1 Message Date
Kunal Powar
779096e668 samples: enable flag parsing
this will allow people to use glog options (like -v=3) to increase
verbosity of the log output
2014-04-05 01:43:16 +05:30
Kunal Powar
10992981e3 gpio: remove edge file handling from digital pin
to be handled in future
2014-04-05 01:30:04 +05:30
Kunal Powar
a6e3902eb0 gpio: fix a bug which prevented digital pins reads from working correctly
when reading from the value file, it is important to seek back to the front
so that we get the fresh values from the kernel driver for every new read
2014-04-05 01:28:15 +05:30
Karan Misra
fc887282bf unified servo and analog output support for pwms 2014-04-02 17:25:28 +05:30
Karan Misra
9ab49745bc - use glog instead of Debug flag
- use glog instead of log
- make code conform to the Go code guidelines
2014-03-31 18:46:04 +05:30
Karan Misra
ca17879e6e remove the old spi driver 2014-03-30 04:19:33 +05:30
Karan Misra
6342dd3a19 bbb: add a comment explaining why we cannot disable the analog and pwm
modules by removing them from the slots file
2014-03-30 04:15:21 +05:30
Karan Misra
9210e4ef1a move the Register calls to the bottom 2014-03-30 04:14:33 +05:30
Karan Misra
ea3afb8538 bbb: disable the pwm pin when closed 2014-03-29 19:19:40 +05:30
Karan Misra
f7e8cb31d4 doc: group the bbb constants together 2014-03-29 14:22:57 +05:30
Kunal Powar
ac32623864 doc: pwm constants 2014-03-29 13:39:30 +05:30
Karan Misra
193385104d doc: fixes 2014-03-29 09:47:22 +05:30
Karan Misra
c3419d3e1b doc: remove markdown from .go doc 2014-03-29 09:46:45 +05:30
Kunal Powar
e6854c3726 doc: pwm 2014-03-28 08:39:36 +05:30
Kunal Powar
14b078a43e gpio: pwm support for bbb 2014-03-28 08:32:22 +05:30
Karan Misra
8d9f991fb0 doc: update 2014-03-28 08:25:38 +05:30
Karan Misra
c83a655aba doc: update 2014-03-26 10:10:57 +05:30
Karan Misra
8a556df770 Host type is now a string 2014-03-24 03:04:58 +05:30
Karan Misra
6802eb3fa0 - use a Register() method to register describers, instead of directly
setting on a map
- allow the host, rev to be overridden by the user
2014-03-24 03:01:58 +05:30
Karan Misra
0842517208 refactor 2014-03-24 02:50:24 +05:30
Karan Misra
7851abbedf doc: update the build status image to the new svg format 2014-03-23 16:06:50 +05:30
Karan Misra
6634116954 add the reference to samples folder in the package doc 2014-03-23 15:50:20 +05:30
Karan Misra
c39476a12e minor cleanup 2014-03-23 15:48:09 +05:30
Karan Misra
d171cfdc90 documentation changes 2014-03-23 15:47:58 +05:30
Karan Misra
5c8ea918ab gpio: analogpin doesn't support write (that will come from pwm) 2014-03-23 14:29:56 +05:30
Karan Misra
2d627aad67 gpio: CapNormal -> CapAnalog 2014-03-23 14:11:09 +05:30
Karan Misra
0002d02c28 add documentation 2014-03-23 14:09:31 +05:30
Karan Misra
a35692aabb added documentation 2014-03-23 07:21:22 +05:30
Karan Misra
3f88b67361 minor cleanup 2014-03-23 06:41:51 +05:30
Karan Misra
ebb9dc47fc led: add missing LEDToggle method 2014-03-23 06:32:57 +05:30
Karan Misra
0405cf3f14 - GPIO -> GPIODriver
- I2C -> I2CDriver
2014-03-23 06:32:24 +05:30
Karan Misra
bf8a4be4d9 led: support led functionality on the bbb 2014-03-23 06:25:32 +05:30
Karan Misra
f7b316332e gpio: make analog pin support more versatile on the bbb 2014-03-23 05:37:28 +05:30
Karan Misra
5a1a40d53b - add a benchmark test for pinMap lookup
- run benchmarks in ci
2014-03-23 05:23:25 +05:30
Karan Misra
0ac16b97dd gpio: add short analog (bbb) example 2014-03-23 05:14:25 +05:30
Karan Misra
3a072d013b i2c: refactor 2014-03-23 05:09:13 +05:30
Karan Misra
33dfc0f4c4 ci: clean up test output 2014-03-23 04:59:53 +05:30
Karan Misra
d64682bf34 gpio: analog pin support for the bbb 2014-03-23 04:59:35 +05:30
Karan Misra
f667c93b7a gpio: simplify and test the logic 2014-03-23 02:32:26 +05:30
Karan Misra
dfb7e63768 gpio: test -ve case when looking up pins 2014-03-23 02:31:47 +05:30
Karan Misra
d193c200ea gpio: rename 2014-03-23 02:10:23 +05:30
Karan Misra
833ab3a472 - add analog pin details to bbb descriptor
- pinMap lookups now honor pin capabilities
2014-03-23 01:36:24 +05:30
Karan Misra
53e6c55378 gpio: allow specifying the digital logical pin number as required 2014-03-23 01:11:24 +05:30
Karan Misra
83c5f3f4d7 gpio: refactor 2014-03-22 12:23:56 +05:30
Karan Misra
638dc8e22d ci: test 1.2.1 on travis 2014-03-22 10:33:29 +05:30
Karan Misra
6d3b3ae571 gpio: digital pin is responsible for exporting/unexporting itself 2014-03-22 10:24:29 +05:30
Karan Misra
df15190e33 separate file for digitalPin 2014-03-22 09:08:23 +05:30
Karan Misra
ca6eb80458 bring the matrix4x3 library up to date 2014-03-03 00:55:20 +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