1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-19 20:33:21 +00:00

Commit Graph

  • 617f562b1c Merge pull request #30 from xtacocorex/feature/lradc Robert Wolterman 2016-12-01 08:25:09 -06: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 Robert Wolterman 2016-12-01 05:55:26 +00:00
  • 82d6fef173 checking in debug stuff for the hw pwm issue #17 Robert Wolterman 2016-09-24 14:22:05 -05:00
  • e2173f0235 Merge pull request #23 from streamnsight/streamnsight-patch-1-3 Robert Wolterman 2016-09-22 10:49:46 -05:00
  • 30593306a3 update readme indent / code streamnsight 2016-09-22 08:45:03 -07:00
  • a9902d1267 Updating the readme to add Python3 installation process Robert Wolterman 2016-09-18 19:15:44 -05:00
  • fcd5afcdc8 Merge pull request #20 from fabien-gigante/master Robert Wolterman 2016-08-26 10:58:38 -05:00
  • d66032ed93 Merge pull request #1 from fabien-gigante/patch-1 fabien-gigante 2016-08-26 16:29:18 +02:00
  • 9a83cf765a Update py_gpio.c fabien-gigante 2016-08-26 16:06:43 +02:00
  • d95847eb5a Update event_gpio.c fabien-gigante 2016-08-26 16:05:25 +02:00
  • 12bc9dec67 Update event_gpio.h fabien-gigante 2016-08-26 16:03:09 +02:00
  • 29eb018e78 Update common.c fabien-gigante 2016-08-26 15:57:07 +02:00
  • ee0e27cb22 Update c_softpwm.c fabien-gigante 2016-08-26 15:55:43 +02:00
  • c8e4323c27 Updating spwmtest.py to check for Issue #16. Updated Changelog and version to 0.2.2 v0.2.2 Robert Wolterman 2016-07-30 14:46:25 -05:00
  • 1e3e801e60 Adds runtime err if softpwm fails for Issue #16 Brady L. Hurlburt 2016-07-28 12:49:28 +00:00
  • 40ae9a5cdc Merge pull request #12 from xtacocorex/feature/overlays v0.2.1 Robert Wolterman 2016-07-25 19:48:21 -05:00
  • 20b72490f2 Merging in the latest master for Issue #10, PR #12 Robert Wolterman 2016-07-25 19:47:05 -05:00
  • 7e83fa8435 Updating version to 0.1.2, fixing the SoftPWM verification test case Robert Wolterman 2016-07-25 19:38:27 -05:00
  • c3448ec661 Fixes softpwm mutex stallout and assert Brady L. Hurlburt 2016-07-25 14:27:31 +00:00
  • 42e17edc4a Merge branch 'master' of github.com:xtacocorex/CHIP_IO Robert Wolterman 2016-07-24 21:37:54 -05:00
  • b180fe1d6f Adding my test code for Issue #14 Robert Wolterman 2016-07-24 21:37:11 -05:00
  • a62a26dae0 Adding Manifest file for pypi to enable pip installation Robert Wolterman 2016-07-22 23:27:46 -05:00
  • 0ed1cfb352 Updating the builder script to let the user know what's happening. PR#12, Issue #10 Robert Wolterman 2016-07-20 08:49:42 -05:00
  • 4f6acf4676 Pull Request #12 fixes for Issue #10. Robert Wolterman 2016-07-19 21:03:40 -05:00
  • 01347416ab Update to Issue #10 that fixes the errors on SPI loading. Have to not set spidev as compatible for spidev. Such meta, much fail, wow Robert Wolterman 2016-07-17 14:23:55 -05:00
  • e270080af8 Last commit for #10 to get the Overlay Manager implemented. i2c-1 still shows up as i2c-3, but everything should work. Will add new bug to investigate. Bumping rev to 0.2.0 as this is a big feature. Custom Overlay should work now Robert Wolterman 2016-07-16 17:33:09 -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 Robert Wolterman 2016-07-16 15:23:43 -05:00
  • 00140c2008 Totally forgot to add the OverlayManager code in the last commit. This update is for #10 Robert Wolterman 2016-07-16 13:49:29 -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 Robert Wolterman 2016-07-16 10:45:13 -05:00
  • 1c4168cf0d Start of the overlay feature, grabbed the sample dts from CHIP-dt-overlay, modified builder.py from the BeagleBone Black repo Robert Wolterman 2016-07-15 23:32:44 -05:00
  • ea4a21235d Some refactoring of the edge detection code to clean stuff up, added more tests Robert Wolterman 2016-07-11 21:14:40 -05:00
  • bff65d346d Initial work at refactoring the edge detection code I added to get it working Robert Wolterman 2016-07-10 22:00:01 -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. v0.1.0 Robert Wolterman 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. Robert Wolterman 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. Robert Wolterman 2016-07-10 14:56:40 -05:00
  • a9a2dbf862 Updating the version prior to merge of this branch into master v0.0.9 Robert Wolterman 2016-07-09 22:26:50 -05:00
  • f6833db833 I use vim pymode and don't want .ropeproject directories in the repo fordsfords 2016-07-09 18:45:19 -05:00
  • 7812063991 Fixed softpwm bug ("disable" code didn't synchronize thread exit) fordsfords 2016-07-09 18:42:38 -05:00
  • 7123c0e308 Evidently I don't know RST formatting. Hopefully this fixes the table of pin names for issue #7. Robert Wolterman 2016-07-05 21:45:47 -05:00
  • 4c7cccd4b3 Updating the README per issue #7 to include the pin names/alt-names/key. Also added information about the need for DTB overlay for PWM and SPI Robert Wolterman 2016-07-05 21:34:29 -05:00
  • 0c6579914c Implementing alternate names per issue #7, still need to pull the pin names/alt-names/keys into the readme Robert Wolterman 2016-07-05 20:50:49 -05:00
  • 6fdeb41b77 Updating the README to mention running with super user permissions, adding sudo in front of py.test to help with issues found in issue #8 Robert Wolterman 2016-07-05 19:00:40 -05:00
  • 45ba0e5332 More error checking work fordsfords 2016-07-04 14:45:41 -05:00
  • 694aa37f23 Testing and error handling fordsfords 2016-07-04 14:35:45 -05:00
  • 0e7d03c472 Fixed a bunch of error handling fordsfords 2016-07-04 13:56:11 -05:00
  • fd29b17796 Updating the changelog Robert Wolterman 2016-07-03 12:05:06 -05:00
  • 54f14a88af Some fixes for the py.test modules. There are still errors and the softpwm stuff is still segfaulting Robert Wolterman 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 Robert Wolterman 2016-07-03 11:49:17 -05:00
  • 92888aaca4 Remove the .ropeproject stuff fordsfords 2016-07-02 19:23:53 -05:00
  • 3c4040d32f Made test program a bit more user friendly. fordsfords 2016-07-02 19:21:28 -05:00
  • 71b6829804 Reworked a lot of error handling. fordsfords 2016-07-02 18:57:03 -05:00
  • 093922567a Added a bunch of sanity checking fordsfords 2016-06-26 14:28:06 -05:00
  • 5ad81066b2 Merge branch 'master' into new_xio fordsfords 2016-06-25 20:13:09 -05:00
  • 1f4714a351 Got rid of last of GPIO port constants from code. fordsfords 2016-06-25 20:02:45 -05:00
  • 34167a9574 Some (not all) of the changes for the new XIO base addr fordsfords 2016-06-21 17:40:00 -05:00
  • baaa5774db Updating the gpio_direction array to contain all the possible gpio. Not sure how this wasn't fubaring the code. Robert Wolterman 2016-06-20 20:25:17 -05:00
  • 409c803aa5 Forgot about the XIO checking in py_gpio.c for edge detection code. Robert Wolterman 2016-06-20 20:24:18 -05:00
  • 0f89ae462c Simple updated to the XIO base logic based upon suggestions by fordsford Robert Wolterman 2016-06-18 15:06:39 -05:00
  • 99193144f1 Stupid logic error preventing XIO-P1 or higher to work. Fixed now Robert Wolterman 2016-06-18 14:44:36 -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 Robert Wolterman 2016-06-18 14:34:41 -05:00
  • 133453c57e Merge pull request #3 from aninternetof/feature/Add_softpwm_rebased Robert Wolterman 2016-05-09 13:45:31 -05:00
  • 2ebbffd137 Edits copyright name on SOFTPWM files Brady L. Hurlburt 2016-05-09 18:42:36 +00:00
  • bfb660e371 Fixes gpio name in SOFTPWM examples Brady L. Hurlburt 2016-05-09 18:33:48 +00:00
  • 3c912ecb72 Reverts accidental change to c_pwm Brady L. Hurlburt 2016-05-06 17:38:51 +00:00
  • f5063c199c Corrects backwards polarity Brady L. Hurlburt 2016-05-06 17:26:02 +00:00
  • 0cae62be43 Update README.rst Brady Hurlburt 2016-05-06 13:13:12 -04:00
  • 67dd919fed Adds softpwm test Brady L. Hurlburt 2016-05-06 17:07:01 +00:00
  • 9ef55ede59 Makes default polarity 1 Brady L. Hurlburt 2016-05-06 15:14:14 +00:00
  • 2f3172568a Fixes bugs with creating thread. Forces 0 and 100 duty cycles Brady L. Hurlburt 2016-05-06 15:13:48 +00:00
  • 9538a4f52b Adds softpwm dependency on event_gpio Brady L. Hurlburt 2016-05-06 14:47:05 +00:00
  • 41203a46a6 Adds mutex protection Brady L. Hurlburt 2016-04-24 13:09:36 -04:00
  • d7bf982b11 Adds softpwm disabling and restructures thread Brady L. Hurlburt 2016-04-23 19:17:56 -04:00
  • 9645d2aae3 Sets up softpwm struct and thread Brady L. Hurlburt 2016-04-10 16:45:13 -04:00
  • 9ac22c32cd Adds softpwm files Brady L. Hurlburt 2016-04-07 20:19:38 +00:00
  • 777fda06a3 Fixing issue #2, edge detection for the XIO pins now works, simple logic issue in the if statement for throwing errors if gpio number is bad Robert Wolterman 2016-04-18 19:31:08 -05:00
  • 6e7dd4984c Updating the README to include notes on edge detection and fixing the first line since it wasn't formatted the way I wanted Robert Wolterman 2016-04-09 10:27:53 -05:00
  • 0e1cf46c4e Addressing Issue #1, adding the ability to set the AP-EINT1 and AP-EINT3 pins as useable for edge detection and callbacks Robert Wolterman 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 Robert Wolterman 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 Robert Wolterman 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 Robert Wolterman 2016-02-26 08:48:07 -06:00
  • 9d593828ae Initial PWM support for the CHIP even though the base .dtb does not support, this is untested Robert Wolterman 2016-02-25 22:38:58 -06:00
  • 91918f8f36 Removing accidentally commited bytecompiled test code Robert Wolterman 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 xtacocorex 2016-02-24 21:48:40 -06:00
  • 3f17904ea1 Initial commit xtacocorex 2016-02-22 18:54:52 -06:00