Skip to content

Commit a8b35df

Browse files
committed
Create release 1.0.4: bug fixes and enhancements
Version 1.0.4: bug fixes and enhancements from last 6 months - @djsutton (1): - fix TypeError: function takes exactly 3 arguments (2 given) from wait_for_edge - @pdp7 (29): - Instruct users to open GitHub issue instead email - add udev rules and script for non-root access to gpio - fix file descriptor leak in gpio_set_value() - document how to test read and write to all GPIO pins - reduce ADC reads in pytest from 10,000 to 1,000 - close file descriptor to avoid leak - remove conditional logic for ctrl_dir and ocp_dir size - increase size of ctrl_dir and ocp_dir for future use - Document how to run config-pin at boot - Document how to test eQEP with Rotary Encoder - Add skeleton for Encoder module to read eQEP - Add code to Encoder.QEP from PyBBIO.RotaryEncoder - Adapt code from PyBBIO.RotaryEncoder - add test for rotary encoder - read from eqep position file - return position from getPosition() - document howo to enable all the eqep pins - Document how to test eqep pins with rotary encoder - run config-pin to set pin mux for qep - update QEP test - update QEP test for issue #122 - Test if kernel booted wit u-boot overlays - check if kernel cmdline for uboot overlay - Add documentation about u-boot overlays - Return BBIO_OK when u-boot overlays ared enabled - remove debug printing - Skip check for device tree loaded if u-boot overlays enabled - Sleep after loading ADC overlay to allow driver load - Workaround test failure until TIMERn bug is fixed - @ltjax (3): - Use lookup table to prevent duplicate pin export - Handle already exported pins - Fix build_path memory leak - @Vadim-Stupakov (1): - Fixed issue #145 GPIO library doesn't free GPIO file descriptor. File descriptor leak. Made a little bit refactoring - @cocasema (8): - Declare PHONY targets in root Makefile - Extract BBIO_err into a separate header - Add syslog and debugging messages - Add libadafruit-bbio with C++ wrappers for PWM/GPIO - Add 2 versions of library with c++98 and c++11 abi - Install header files properly - Add default values to pwm::start() method. - Add PWM c++ tests - @zsserg (2): - Added error checking for setting pin direction in gpio.setup() (Python) - Added debug output to set_pin_mode()
1 parent 713cafa commit a8b35df

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

CHANGELOG.rst

+58
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
1.0.4
2+
----
3+
* @djsutton (1):
4+
* fix TypeError: function takes exactly 3 arguments (2 given) from wait_for_edge
5+
6+
* @pdp7 (29):
7+
* Instruct users to open GitHub issue instead email
8+
* add udev rules and script for non-root access to gpio
9+
* fix file descriptor leak in gpio_set_value()
10+
* document how to test read and write to all GPIO pins
11+
* reduce ADC reads in pytest from 10,000 to 1,000
12+
* close file descriptor to avoid leak
13+
* remove conditional logic for ctrl_dir and ocp_dir size
14+
* increase size of ctrl_dir and ocp_dir for future use
15+
* Document how to run config-pin at boot
16+
* Document how to test eQEP with Rotary Encoder
17+
* Add skeleton for Encoder module to read eQEP
18+
* Add code to Encoder.QEP from PyBBIO.RotaryEncoder
19+
* Adapt code from PyBBIO.RotaryEncoder
20+
* add test for rotary encoder
21+
* read from eqep position file
22+
* return position from getPosition()
23+
* document howo to enable all the eqep pins
24+
* Document how to test eqep pins with rotary encoder
25+
* run config-pin to set pin mux for qep
26+
* update QEP test
27+
* update QEP test for issue #122
28+
* Test if kernel booted wit u-boot overlays
29+
* check if kernel cmdline for uboot overlay
30+
* Add documentation about u-boot overlays
31+
* Return BBIO_OK when u-boot overlays ared enabled
32+
* remove debug printing
33+
* Skip check for device tree loaded if u-boot overlays enabled
34+
* Sleep after loading ADC overlay to allow driver load
35+
* Workaround test failure until TIMERn bug is fixed
36+
37+
* @ltjax (3):
38+
* Use lookup table to prevent duplicate pin export
39+
* Handle already exported pins
40+
* Fix build_path memory leak
41+
42+
* @Vadim-Stupakov (1):
43+
* Fixed issue #145 GPIO library doesn't free GPIO file descriptor. File descriptor leak. Made a little bit refactoring
44+
45+
* @cocasema (8):
46+
* Declare PHONY targets in root Makefile
47+
* Extract BBIO_err into a separate header
48+
* Add syslog and debugging messages
49+
* Add libadafruit-bbio with C++ wrappers for PWM/GPIO
50+
* Add 2 versions of library with c++98 and c++11 abi
51+
* Install header files properly
52+
* Add default values to pwm::start() method.
53+
* Add PWM c++ tests
54+
55+
* @zsserg (2):
56+
* Added error checking for setting pin direction in gpio.setup() (Python)
57+
* Added debug output to set_pin_mode()
58+
159
1.0.3
260
----
361
* Add -Wno-strict-aliasing to CFLAGS to ignore gcc warning

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
setup(name = 'Adafruit_BBIO',
43-
version = '1.0.3',
43+
version = '1.0.4',
4444
author = 'Justin Cooper',
4545
author_email = '[email protected]',
4646
description = 'A module to control BeagleBone IO channels',

0 commit comments

Comments
 (0)