Commit Graph

325 Commits

Author SHA1 Message Date
Guy McSwain 720d612193 Merge branch 'master' of https://github.com/jaessy77/pigpio into jaessy77-master 2020-03-22 15:55:10 -05:00
Guy McSwain b229b67ce0 Correct max wave resource comparison tests. 2020-03-22 12:26:26 -05:00
Guy McSwain c38087352f Use two-beat DMA control block on pulse with set and clear OOLs. 2020-03-18 16:31:42 -05:00
Guy McSwain 7f05ff4c48 Fix error messages on gpioWaveCreatePad 2020-03-12 09:46:58 -05:00
Guy McSwain 038be60398 Allow creation of two waves with 50% padding using gpioWaveCreatePad.
- gpioWaveCreatePad takes three arguments: %CB, %BOOL, %TOOL
- gpioWaveCreatePad checks range of arguments
- gpioWaveCreatePad checks dimension of wave fits inside padding
- wave2Cbs takes three arguments: numCB, numBOOL, numTOOL
- socket command PI_CMD_WVCAP is variadic
2020-03-12 09:44:41 -05:00
Jul3k c660e3fc8e Added WaveCreatePad to pigpio.c 2020-03-05 18:28:31 +01:00
Jul3k a9f5dc17d9 Added wave_create_and_pad to pigpio.py 2020-03-05 18:26:08 +01:00
Jul3k 4ab125cfff Added WaveCreatePad to API 2020-03-05 17:42:55 +01:00
Jul3k b9b8eff390 Reverted size paramter fore wavecreate in x_pigpio.c 2020-03-05 16:37:23 +01:00
Jul3k 773378fd24 Reverte added site paramezer in wave_create 2020-03-05 14:02:26 +01:00
Jul3k 71fe78aac9 Added .so.* to gitignore 2020-03-05 13:53:44 +01:00
Guy McSwain 58c5ad756b Skip wave padding when size = 0 2020-03-04 01:25:01 -06:00
Guy McSwain f4a4b9772f Wave create using fixed size CB, OOL 2020-03-03 23:13:57 -06:00
Guy McSwain ef48a043af
Merge pull request #328 from joan2937/BCM2711-BSC-slave
Bcm2711 bsc slave.  Closes #280 and #327 .
2020-03-01 12:51:57 -06:00
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
Marco Jassmann 671adab8ad Corrected constant name in spiClose from PI_I2C_CLOSED to PI_SPI_CLOSED 2020-02-26 12:29:55 +01:00
Marco Jassmann 3a716863f0
Merge pull request #1 from joan2937/master
Pull Request 26.02.2020
2020-02-26 12:03:52 +01:00
Guy McSwain 7154f808c0
Merge pull request #323 from joan2937/Release-v74
Merge Release-v74
2020-02-03 10:54:22 -06:00
Guy McSwain bab05ceb97
Merge pull request #321 from joan2937/Release-v74
Release v74: closes #274, closes #298, closes #266, closes #316, closes #223.
2020-02-03 09:45:03 -06:00
Guy McSwain d5dee1d0a5 Bump to v74 2020-01-25 21:40:36 -06:00
Phil Wright 47f3bf7ec9 v7303 Fix waveform length when merging pulses (#223) 2020-01-25 20:52:43 -06:00
Guy McSwain fc6e3df438 v7302: Fix range of 'old' rev codes 2020-01-18 14:41:09 -06:00
Guy McSwain 714136afe4 New hardware revision decode
Decode hardware revision from either:
1) 'revision' string in /proc/cpuinfo (legacy)
2) binary number in /proc/device-tree/system/linux,revision

The second path is recommended by raspberrypi.org for newer
operating systems.  See raspberrypi/linux#2110
2020-01-18 10:06:49 -06:00
Guy McSwain 5c1f52215d setsockopt() with properly initialized option argument. Fixes issue #298 and possibly #274. 2020-01-10 00:50:53 -06:00
Guy McSwain 4b2a1efdab
Add 'develop' branch model process. 2020-01-10 00:32:24 -06:00
Guy McSwain d1fb6b9272
Update pigpiod.service
Closes #210
2020-01-08 12:09:15 -06:00
joan2937 da780491d9 V73: I2C_SLOTS to 512 (from 64) 2020-01-02 15:04:54 +00:00
joan2937 12a1fc5a2a V72+: new year 2020-01-02 15:01:43 +00:00
joan2937 3d7e46de4f Merge branch 'master' of https://github.com/flaviut/pigpio 2020-01-02 14:15:35 +00:00
joan2937 93b1f6d544
Merge pull request #313 from guymcswain/master
Repository maintainer and collaborator
2020-01-02 08:30:15 +00:00
Guy McSwain 8f279023a4
Create CONTRIBUTING.md (#1)
* Create CONTRIBUTING.md

* Update CONTRIBUTING.md
2020-01-01 20:49:16 -06:00
Guy McSwain fb0ffc20e7
Create SUPPORT.md (#2) 2020-01-01 20:48:41 -06:00
Flaviu Tamas 1788961a9b Fix broken close handling 2019-12-21 11:07:05 -05:00
joan2937 b634058746 V72 2019-11-30 18:17:04 +00:00
joan2937 9b9ca9455d V71+: rewrite chooseBestClock to fix errors 2019-11-29 23:20:19 +00:00
joan2937 6b770ad810 V71+: #268 obey host name setting with env vars 2019-11-27 21:25:35 +00:00
joan2937 adf7caeff5 V71+: tidy up documentation overviews 2019-11-27 18:44:25 +00:00
joan2937 5966a50e45 V71+: change the way DMA is reset to cater for edge case 2019-09-29 10:13:04 +01:00
Gert-Jan Rozing ee7a6be227
Moved option like option to actual option 2019-08-26 12:08:08 +02:00
Gert-Jan Rozing a8498a0295
Forgot the command option 2019-08-26 12:03:31 +02:00
Gert-Jan Rozing 964bdb1e79
Fixed path issue 2019-08-26 12:02:02 +02:00
Gert-Jan Rozing 492d83d0d3
optimized python setup 2019-08-26 12:00:09 +02:00
Gert-Jan Rozing b5f0e61ccf
Python setup needs to be called from root 2019-08-26 11:52:04 +02:00
Gert-Jan Rozing 61cf704187
Try to make things work 2019-08-26 11:45:08 +02:00
Gert-Jan Rozing b59425c9b8
Reenabled python isntall 2019-08-26 11:43:07 +02:00
Gert-Jan Rozing 062e981608
fixed usage of wrongly spelled target 2019-08-26 11:36:56 +02:00
Gert-Jan Rozing 2e1d22fca3
optimized cmake configuration 2019-08-26 11:31:15 +02:00
joan2937 ad89f458c8 V71+: #286 arm64 socket i/f response 2019-08-16 16:58:45 +01:00
joan2937 cc5dba43a5 Merge branch 'pbanasik-master' 2019-08-16 16:36:49 +01:00
PB d1f3bc81d9 Fix network communication on arm64 - continued
The 55d8b880fc commit on the original pigpio repo fixed parsing data received from a socket on 64bit systems.
This one fixes also the response that is being sent back to the socket - 64bit array is translated back to a 32bit array that is passed to the send function.
2019-08-16 10:26:05 +02:00