e7db735a2f
GPIO able to be controlled by pin sysfs number like RPi.GPIO, close #65
2017-09-13 10:35:32 -05:00
024e5d5797
Extern integer definitions in the header file
...
Integers are defined in both the .c and the common.h file leading to linking
issues with the library when used externally and potentially causing issues
within the code as well.
2017-06-08 15:23:32 +00:00
121ad398e4
new method for determining if the computer is a chip/chip pro, this fixes the runtimeerror's i was getting. for #32
2017-02-25 17:06:38 -06:00
ca7d221b33
More work on #32 , Checks for gpio being invalid on specific hardware, pwm invalid checks done. Need to do proper export of PWM1 on CHIP Pro
2017-02-20 05:03:04 +00: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
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
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
8c3dab1ecc
Fix and close #53 . Start of implementation for #55
2017-01-24 05:23:04 +00:00
8ecec67bad
Fixing and Closing #43 , #44 , and #45 . setmode() function added, per pin cleanup added for GPIO and SOFTPWM, and README updates
2017-01-05 05:54:14 +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
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
0c6579914c
Implementing alternate names per issue #7 , still need to pull the pin names/alt-names/keys into the readme
2016-07-05 20:50:49 -05:00
0e7d03c472
Fixed a bunch of error handling
2016-07-04 13:56:11 -05:00
71b6829804
Reworked a lot of error handling.
2016-07-02 18:57:03 -05:00
093922567a
Added a bunch of sanity checking
2016-06-26 14:28:06 -05:00
1f4714a351
Got rid of last of GPIO port constants from code.
2016-06-25 20:02:45 -05:00
34167a9574
Some (not all) of the changes for the new XIO base addr
2016-06-21 17:40:00 -05:00
818be5202e
Fixing the code to handle pulling the right XIO base number due to the change in the CHIP OS 1.1 with the 4.4 kernel, thanks to howientc and fordsfords for their help
2016-06-18 14:34:41 -05:00
9ac22c32cd
Adds softpwm files
2016-05-06 17:30:11 +00:00
01ae605491
Initial commit, working GPIO for all available CHIP GPIO pins, have not tested edge detection and callbacks
2016-02-24 21:48:40 -06:00