fa3108544b
First stab as getting a capability to dump out .deb files for both Python2 and Python3.
2017-02-19 10:06:22 -06:00
c5dbede3c4
Formal initial start at CHIP Pro support. Removed the custom DT Overlays, OverlayManager now pulls dtbo from chip-dt-overlays package from NTC. First commit to CHIP_IO from a CPro DevKit
2017-02-13 05:18:33 +00:00
6bd2e61450
software servo! this implements and will close #41 . also fixed issue with softpwm cleanup(), update to version 0.4.0
v0.4.0
2017-02-07 04:17:09 +00:00
cd85e2b5eb
cleanup of brettcvz's read_byte function, added read_word since he really needs 12 bits of data. finally fixed the gpio cleanup() without argument issue once and for all, sorry for lying howientc
v0.3.5
2017-01-29 22:58:41 +00:00
6beacbb382
Merge pull request #59 from brettcvz/master
...
Added the ability to read a full byte from a set of channels
2017-01-29 15:21:26 -06:00
a498fc12bd
Added the ability to read a full byte from a set of channels
...
For example, you can hook up to the 8 XIO pins and 8 CSID pins to read
a word in just two calls: `GPIO.read_byte("XIO") + GPIO.read_byte("CSID") << 8`
For fast-changing inputs (e.g. reading from a counter), this is more
accurate than reading the bits individually.
2017-01-29 12:32:53 -08:00
2e2177da26
quick fix because i broke xio input setup with the pud code, this closes #58
v0.3.4.1
2017-01-29 20:21:02 +00:00
541d76f641
updating readme to remove the commands that remove the source directory.
2017-01-29 20:10:09 +00:00
2b23e2d165
pull up/down feature addition to close #48 . fixed gpio cleanup() function again, 3rd time is a charm. version bump to 0.3.4
v0.3.4
2017-01-29 03:50:37 +00:00
a839661c3b
randomness for #32 and #48 . cleanup of removing the spi function in common.c/.h since it isn't chip specific
2017-01-28 20:05:53 +00:00
cb4e272a35
adding the code to py_pwm.c to get the error data out of c_pwm.c. general code cleanup. this should close #56 as the softpwm code had the error string support already in it
2017-01-28 19:04:31 +00:00
05b936ca1d
added error string info (a la gpio) to the pwm code for #56
2017-01-28 18:50:09 +00:00
3ff79d43e3
version bump to 0.3.3, cleaning up stuff left over in fixing #40 , start of implementing #56
v0.3.3
2017-01-28 05:41:05 +00:00
40381efa74
fixing issue in the readme where the clone command for the dtc compiler was missing .git
2017-01-28 04:30:48 +00:00
73ae207e16
Copied over 2 new pwm functions from @streamnsight to close #46 . these 2 functions are untested, which is why i'm not updating the readme at the moment.
2017-01-28 04:16:12 +00:00
eafcf0bf69
fixing issue related to loading the SPI2 overlay, forcing use of the sample provided by NTC in their chip-dt-overlays deb package.
2017-01-28 02:34:04 +00:00
bf27e2feea
final updates in the initial addition of debug printing. this should close #55
2017-01-28 02:09:14 +00:00
8221016c10
More updates to the library to add debug printing
2017-01-26 05:55:30 +00:00
bd7f667041
Start of global debug implementation to match the PWM code
2017-01-25 05:07:00 +00:00
8c3dab1ecc
Fix and close #53 . Start of implementation for #55
2017-01-24 05:23:04 +00:00
962049299a
Merge pull request #52 from tryonlinux/master
...
Updated rpigpiomodule to chipgpiomodule so python3 compile works
2017-01-10 21:20:16 -06:00
10e7043269
Fix and close #51 , I wasn't careful in swapping the module name. I thought the name was changed months ago, but eh, fixed now
2017-01-11 03:17:26 +00:00
3b2e334876
Updated rpigpiomodule to chipgpiomodule so python3 compile works
2017-01-10 21:18:44 -05:00
486cf73860
Fix and close #50 , I really don't understand pointers because Python abstracts that all out for me and C does not.
2017-01-10 01:14:16 +00:00
5723bf15b3
Readme updates for callbacks to close #49
2017-01-08 20:45:16 +00:00
6972f352ae
Fixes in LRADC.py for debug printing failing when using Python3. Updates to the README to detail running unit tests for either Python version. Ref #42 and #47
2017-01-06 04:11:12 +00:00
8ecec67bad
Fixing and Closing #43 , #44 , and #45 . setmode() function added, per pin cleanup added for GPIO and SOFTPWM, and README updates
0.3.0
2017-01-05 05:54:14 +00:00
d0ed4665aa
Fixing issue with the enable 1.8v pin code. Updating version to 0.2.7
0.2.7
2017-01-03 00:07:40 +00:00
1d641ecdff
evidently the README format doesn't like what I did for the earlier change
2017-01-02 21:01:40 +00:00
8241f54891
Update to the README to make the PocketCHIP specific names more easily recognizable. Update to the Makefile clean function to remove the byte compiled python stuff that wasn't cleaned properly
2017-01-02 20:49:09 +00:00
abbc4968c6
version update to 0.2.6 that brings in the fix for #34
0.2.6
2016-12-31 21:52:21 +00:00
9a2e81f093
fix to close #34 , gpio value file is now opened as read/write instead of read only
2016-12-31 21:49:52 +00:00
7cce06b472
fixing error in the overlay builder, forgot to remove the i2c-1 stuff in there. added code to common to allow denotation if a pin supports software pwm
2016-12-31 20:25:12 +00:00
7489fd21b4
Removing i2c-1 custom support in OverlayManager as it's back in 4.4.13, this is to close #31 . Update to version 0.2.5
v0.2.5
2016-12-31 05:10:26 +00:00
87303b6083
fixed the issue with the softpwm pytest code for #22
2016-12-31 04:52:57 +00:00
8aa402fbd5
mods to test_pwm_setup.py to mark some tests that are failing as expected to fail ( #22 ). the issue appears to be the pwm cleanup stuff. added some code to help with future work
2016-12-31 04:37:24 +00:00
e82f62133a
Closing out #17 and #18 , version upped to 0.2.4
2016-12-31 02:19:57 +00:00
993ea29213
added the unexport_all() function to CHIP_IO.Utilities to address #18
2016-12-31 02:09:30 +00:00
7d91bbc47e
fixes for #17 , hardware pwm works now, still can't change polarity, but i think that's a kernel driver/dtb thing.
2016-12-31 01:43:42 +00:00
b12c0ad2fe
Merge branch 'master' into hotfix/hwpwmfix
2016-12-30 17:16:17 +00:00
5d8c0f6aaa
removing time step in the makefile as the CHIP doesn't have ntpdate installed by default (at least in headless OS)
2016-12-30 16:43:14 +00:00
4aaff04375
removing ropeproject file in test directory
2016-12-30 16:42:10 +00:00
eeb98d468f
Merge pull request #39 from blueSolder/master
...
working
2016-12-26 07:43:41 -06:00
51c38843d9
Add files via upload
2016-12-26 16:34:47 +11:00
5aa08351c2
Merge pull request #37 from zerotri/patch-1
...
Add 'TARGET_DIR' prefix env var to builder.py
2016-12-16 18:24:42 -06:00
9d7fb634a3
Add 'TARGET_DIR' prefix env var to builder.py
...
This allows CHIP_IO to build and install successfully in buildroot.
2016-12-16 15:32:02 -08:00
3cd69cfe93
Updating the Makefile to aid in the package and publish to pypi
2016-12-02 01:15:01 +00:00
cf9916018b
Merge pull request #33 from WereCatf/master
...
Improve the code for setting the 1V8-pin, including get-function
2016-12-01 10:31:40 -06:00
e0c65de9a8
Update README.rst
2016-12-01 18:18:17 +02:00
794ce98ed2
Improve the code for setting the 1V8-pin, including get-function
2016-12-01 17:47:11 +02:00