Commit Graph

65 Commits

Author SHA1 Message Date
joan2937 4753b0d37c Code for BSC I2C/SPI slave on the BCM2711 (PI4B)
Added documentation for callback usage
2020-03-01 13:35:16 +00:00
joan2937 adf7caeff5 V71+: tidy up documentation overviews 2019-11-27 18:44:25 +00:00
joan2937 f660834a7a V69+: BCM2711 PLLD 500->750 MHz Crystal 19.2->54M 2019-07-14 20:47:20 +01:00
joan2937 5b416b699b V69+: #280 SPI/BSC SLAVE peripheral not available on BCM2711 2019-07-07 12:52:44 +01:00
joan bb352d2000 V68 2018-10-21 09:34:40 +01:00
joan f99a4c7224 Merge branch 'bennuttall-pi-repr' of https://github.com/bennuttall/pigpio into bennuttall-bennuttall-pi-repr 2018-10-21 09:29:59 +01:00
joan 3e90383499 V67+: tided up I2C/SPI documentation 2018-10-21 08:54:37 +01:00
Ben Nuttall 559bb73802 Add repr to pi class 2018-10-08 11:20:13 +01:00
joan 934874be2f V67: use with for Python locks, show_errors flag 2018-03-20 18:39:50 +00:00
joan 5981d495cc V66: #178 update script parameters command PROCU 2018-02-13 09:14:28 +00:00
joan f83c93066e wave delete comments 2018-02-08 18:48:33 +00:00
joan a41d63493b Issues #131 and #141 2018-02-06 16:01:45 +00:00
joan 5e49e8b1a3 Merge branch 'issue-189' of https://github.com/maihde/pigpio into maihde-issue-189 2018-02-04 10:21:38 +00:00
joan e3a7548f4e Refine error handling approach 2018-02-04 10:18:55 +00:00
joan 512f261db0 Merge branch 'master' of https://github.com/damienstuart/pigpio into damienstuart-master 2018-02-04 10:16:55 +00:00
Michael fb081b7cf6 Address #189 ensuring socket locks are released
The code previous assume exception-free execution of critical blocks
between lock acquire() and lock release(); however, in Python exceptions
can be thrown in many situations which would then result in a dead-lock
of the entire program using pigpio.

This is resolved by using the acquire/try/finally/release pattern to
ensure that the lock is always released, even when an exception occurs.

Also addresses #186, but takes a slightly different approach by using
RLock to handle the nested lock requirement, which overall should be
safer because it handles additional situations that can cause a
deadlock.
2018-01-31 07:07:00 -05:00
Damien Stuart cc559a7e50 Ensure the lock is released if there is an exception on socket I/O. 2017-12-31 16:00:57 -05:00
TheRaspyDev 51e7df2b6c Merge branch 'master' of https://github.com/joan2937/pigpio
# Conflicts:
#	pigpio.c
2017-05-19 10:13:40 +02:00
TheRaspyDev e1b7d8c508 Fixing command line arguments for new option -m 2017-05-19 10:01:51 +02:00
joan 1aa4cca8a6 V64 2017-05-14 18:13:41 +01:00
joan f032029bf9 V63 2017-05-13 14:22:02 +01:00
joan 114653357b V61 2017-02-19 11:28:15 +00:00
Floris Bos 7eec4b6c88 Add basic IPv6 support
Add IPv6 support to daemon and python library.
IPv6 was already supported by the C client library.

Currently there is no support for whitelisting IPv6 client
addresses implemented, so for now it reverts to listening
to IPv4 only when the -n <ip> option is specified.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
2017-02-17 15:36:48 +01:00
joan a939b8b0e6 V59 2016-12-22 18:07:09 +00:00
joan c31a2fa6b2 V57 2016-10-30 15:30:20 +00:00
joan abe5f12942 V56 2016-09-22 14:12:26 +01:00
BjoernSch c5a1cc5e35 Adding constants for spiFlags
Added several constants to ease SPI configuration
2016-08-10 20:51:00 +02:00
BjoernSch 735c87342e Changed default mode to 0
Should be the most common mode
2016-08-09 20:04:42 +02:00
BjoernSch 4d3ac5e66b Added (some) missing documentation
The man page is still missing the new functions
2016-08-09 13:19:40 +02:00
BjoernSch c91dbb5220 Added Software SPI
Added Software SPI:
bbSPIopen
bbSPIclose
bbSPIxfer
Some documentation is not finished yet.
2016-08-06 12:18:17 +02:00
joan f9e24d568b V55 2016-07-10 21:29:14 +01:00
joan 3b56709a0e V53 2016-05-31 18:44:12 +01:00
joan be8beba544 V48 2016-03-08 14:28:15 +00:00
joan 46eb4d6056 V47 2016-03-01 21:41:36 +00:00
joan 89fca37587 V46 2016-02-18 21:51:10 +00:00
joan ab3725839f V44 2016-02-06 18:46:07 +00:00
joan 251ed80f5e V43 2015-12-31 17:01:34 +00:00
joan 92bd13d857 V40 2015-11-10 14:57:12 +00:00
joan b140e1aa74 V39 2015-10-28 11:06:53 +00:00
joan f5912f84b4 V38 2015-10-02 08:23:02 +01:00
joan ed780522a0 V37 2015-08-30 10:31:56 +01:00
Eric Sorton 5cf0d63695 Option to invert bit bang serial. 2015-08-29 09:23:55 -04:00
joan 33a222f80b V35 2015-07-24 21:17:29 +01:00
joan 927f3544f1 V34 2015-06-18 11:46:46 +01:00
joan 573f447c78 V33-a 2015-06-01 18:32:03 +01:00
joan b68a696597 V33 2015-05-17 12:36:40 +01:00
joan b9c55009e0 V32-a 2015-04-23 08:58:59 +01:00
joan adb8c8dbf6 V30 2015-02-25 20:34:52 +00:00
joan 624ecb6fb0 V26 2015-02-02 21:11:28 +00:00
joan 84b06fca73 V25 2014-12-24 22:12:21 +00:00