Changelogs » Chip-io

PyUp Safety actively tracks 268,179 Python packages for vulnerabilities and notifies you when to upgrade.



  * Added ability to specify GPIO only as a number, this doesn't work for PWM/SPWM/LRADC/SERVO


  * Implementation for 77 - ability to push up binary pypi
  * Implementation for 75 - wait_for_edge timeout


  * Fixing implementation for 76


  * Random comment cleanup
  * Implement fix for 76
  * API documentation added
  * Closing 74


  * Merged PR70 to enable the underlying C code to be used properly in C based code
  * Updated README to add missing pins on the CHIP Pro that are available as GPIO
  * Updated README to denote pins that are available for Edge Detection


  * Added 3 pins for the CHIP Pro as allowable for setting callbacks and edge detection to close out Issue 68


  * Added the I2S pins on the CHIP Pro as GPIO capable
  * Added per PWM/SoftPWM cleanup per Issue 64


  * Fix for Issue 63 where re-setting up a pin wasn't lining up with RPi.GPIO standards. Calling setup after the first time will now update direction.
  * README updates to point out the direction() function since that was missing


  * Fix for Issue 62 where using alternate name of an XIO would cause a segfault due to trying to set pull up/down resistor setting


  * Re-enabled the polarity setting for PWM based upon Issue 61
  * Fixed a 1 letter bug was trying to write inverted to polarity when it wants inversed (such facepalm)
  * Cleaned up the polarity setting code to work when PWM is not enabled
  * Fixed the unit test for pwm to verify we can set polarity


  * Fixes to the PWM pytest
  * Added pytest for LRADC and Utilities
  * Makefile updates for all the things


  * Updating Utilties to determine CHIP Pro better
  * Updating the README to fix things


  * CHIP Pro Support
  * README Updates


  * Software Servo code added
  - Only works on the LCD and CSI pins
  * Fixed cleanup() for the SOFTPWM and SERVO
  - The per pin cleanup for SOFTPWM doesn't work as stop() clears up the memory for the pin used
  - SERVO code was based on SOFTPWM, so it inherited this issue


  * Merged in brettcvz's code to read a byte of data from the GPIO
  - Cleaned the code up and expanded it (in the low level C code) to read up to 32 bits of data
  - Presented 8 bit and 16 bits of data functions to the Python interface with brettcvz's read_byte() and my read_word()
  * I think I finally fixed the GPIO.cleanup() code one and for all

  * Quick fix as I borked XIO setup as inputs with the latest change that enabled PUD


  * Pull Up/Pull Down resistor setting now available for the R8 GPIO.
  * Some general cleanup


  * Added Debug printing for all the capabilities with the toggle_debug() function
  * Added 2 functions from streamnsight for PWM that allow for setting the period of the PWM and the Pulse Width, both in nanoseconds
  * Fixed the SPI2 overlay stuff by using the NTC overlay instead of mine.


  * Fixing issue 53 to handle the return values of the set functions in pwm_enable.
  * Start of whole library debug for 55


  * Fixing issue 50 where I broke GPIO.cleanup() and SOFTPWM.cleanup() when no input is specified.


  * Added setmode() function for GPIO to maintain compatibility with Raspberry Pi scripts, this function literally does nothing
  * Added per pin cleanup functionality for GPIO and SoftPWM so you can unexport a pin without unexporting every pin
  * Updated README to make edge detection wording a little better and to add the per pin cleanup code
  * Version update since I blasted through 3 issues on github and feel like we need a nice bump to 0.3


  * Fix to the Enable 1.8V Pin code as it wasn't working due to bit shifting isn't allowed on a float.
  * Updated README to denote the PocketCHIP Pin names better


  * Fix to keep the GPIO value file open until the pin is unexported (issue 34)


  * Updates to the pytest code for HWPWM and SoftPWM
  * Removed the i2c-1 load/unload support in OverlayManager as CHIP Kernel 4.4.13 has that bus brought back by default


  * HW PWM Fixed
  - Start/Stop/Duty Cycle/Frequency settings work
  - Polarity cannot be changed, so don't bother setting it to 1 in start()
  * Added the unexport_all() function to Utilites


  * LRADC Support
  * Added Utilities
  - Enable/Disable the 1.8V Pin
  - Change 1.8V Pin to output either 2.0V, 2.6V, or 3.3V
  (Current limited to 50mA)


  * Fixes for Issue 16
  - Pass SoftPWM setup errors to Python layer (aninternetof)
  - Updated to test for this issue


  * Pull request 12 fixes:
  - Fixed indent in the i2c-1 dts
  - Removed import dependencies in the SPI and PWM overlays
  - Re-enabled building of the dtbo on install


  * Added the ability to load DTB Overlays from within CHIP_IO
  - Support for PWM0, SPI2, and I2C-1 (which comes back as i2c-3 on the 4.4 CHIP
  - Support for a custom DTB Overlay
  * Fixes to the pwm unit test, all but 2 now pass :)


  * SoftPWM Fix by aninternetof
  * Added a verification test for SoftPWM


  * Some refactoring of the edge detection code, made it function better
  * Added Rising and Both edge detection tests to
  - Small issue with both edge triggering double pumping on first callback hit


  * Fixed edge detection code, will trigger proper for callbacks now


  * Fixed SoftPWM segfault
  * Added Alternate Names for the GPIOs


  * Updates to handle the 4.4 kernel CHIPs.  Numerous fixes to fix code issues.
  * Added ability to get the XIO base into Python.
  * Still need a proper overlay for Hardware PWM and SPI.


  * GPIO edge detection expanded to include AP-EINT1 and AP-EINT3 as those are the only other pins that support edge detection


  * Initial PWM
  * GPIO edge detection and callback for XIO-P0 to XIO-P7 working


  * Initial Commit
  * GPIO working - untested callback and edge detection
  * Initial GPIO unit tests