1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
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
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
4aaff04375 removing ropeproject file in test directory 2016-12-30 16:42:10 +00:00
89cbea038e LRADC support to close out feature #15. Added Utilities to enable and disable the 1.8v pin on U13. Updated README. Updated version to 2.3 2016-12-01 05:55:26 +00:00
82d6fef173 checking in debug stuff for the hw pwm issue #17 2016-09-24 14:22:05 -05:00
c8e4323c27 Updating spwmtest.py to check for Issue #16. Updated Changelog and version to 0.2.2 2016-07-30 14:46:25 -05:00
20b72490f2 Merging in the latest master for Issue #10, PR #12 2016-07-25 19:47:05 -05:00
7e83fa8435 Updating version to 0.1.2, fixing the SoftPWM verification test case 2016-07-25 19:38:27 -05:00
b180fe1d6f Adding my test code for Issue #14 2016-07-24 21:37:11 -05:00
44121ed5eb Fixed SPI dtbo and verification. i2c-1 is still off, waiting to hear back from NTC crew on that. Added test case for the OverlayManager. Fof feature #10 2016-07-16 15:23:43 -05:00
ee8445918e More work on #10. PWM0 Loading is complete and verified, i2c-1 loading loads to i2c-3, verification fails, spi2 is loaded, but no verification. No work on custom overlay loading. Fixed issues with test_pwm_setup.py; only 2 tests fail now (when PWM0 is loaded 2016-07-16 10:45:13 -05:00
ea4a21235d Some refactoring of the edge detection code to clean stuff up, added more tests 2016-07-11 21:14:40 -05:00
a4dd1558f0 Realized that the AP-EINT1/3 test code wasn't actually testing callbacks, they do work properly in my testing. Reverting gptest.py to what it was. Revision Update. Issue #9 is resolved. 2016-07-10 19:23:45 -05:00
3d1ecb6b5e Edge detection callback is now working for the XIO's. Blocking wait_for_edge works for both the AP-EINT1/3 and the XIO's. Need to figure out why AP-EINT1/3 don't work for the callback. This is to help fix issue #9. 2016-07-10 16:37:22 -05:00
db4493322d Inital attempt at fixing #9. Things are still broken. wait_for_edge no longer works on AP-EINT1/3, XIO will trigger only one on falling edge. 2016-07-10 14:56:40 -05:00
7812063991 Fixed softpwm bug ("disable" code didn't synchronize thread exit) 2016-07-09 18:42:38 -05: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
694aa37f23 Testing and error handling 2016-07-04 14:35:45 -05:00
0e7d03c472 Fixed a bunch of error handling 2016-07-04 13:56:11 -05:00
54f14a88af Some fixes for the py.test modules. There are still errors and the softpwm stuff is still segfaulting 2016-07-03 12:01:58 -05:00
9ee83c0b38 Adding Python interface to get the base XIO numbers, fixes for gptest.py on the 4.4 kernel CHIPs 2016-07-03 11:49:17 -05:00
92888aaca4 Remove the .ropeproject stuff 2016-07-02 19:23:53 -05:00
3c4040d32f Made test program a bit more user friendly. 2016-07-02 19:21:28 -05:00
71b6829804 Reworked a lot of error handling. 2016-07-02 18:57:03 -05:00
67dd919fed Adds softpwm test 2016-05-06 17:30:13 +00:00
0e1cf46c4e Addressing Issue #1, adding the ability to set the AP-EINT1 and AP-EINT3 pins as useable for edge detection and callbacks 2016-04-08 21:47:42 -05:00
c2ab013a5d Adding protection for to the GPIO to only allow edge detection and call back on the XIO pins, clean up of the PWM, updated test code 2016-04-02 19:48:57 -05:00
cea44c287d PWM support fixed, the test fails when trying to change the frequency, but I don't think that's an issue. Have not run this against something that needs PWM to operate, but the .dtb I have loaded has /sys/class/pwm/pwmchip0 and it can be configured with this code 2016-02-29 13:04:35 -06:00
1b7beac587 Updating the readme for PWM instructions and added a test case for PRM which hasn't been tested 2016-02-26 08:48:07 -06:00
91918f8f36 Removing accidentally commited bytecompiled test code 2016-02-25 18:53:51 -06: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