Commit Graph

363 Commits

Author SHA1 Message Date
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
joan2937 b6fe587451 V71 2019-08-15 17:06:53 +01:00
joan2937 331b5a1451 V70+: #282 close notification sockets when pigpiod "-m" option is used. 2019-08-15 16:26:18 +01:00
joan2937 21859bf092 V70+: Merge branch 'CreaValix-master' 2019-08-09 21:21:27 +01:00
Alexander Simon 55d8b880fc Fix network communication on arm64
Base messages consist of four uint32 integers.
Wrongly, integers are declared as a four-element uintptr_t array.
The 16 bytes are written directly by recv().
This works great for arm32, but on arm64 uintptr_t is 64 bit (8 bytes).

This patch reads four 32-bit integers and writes them into the uintptr_t
array.
2019-08-07 13:39:18 +02:00
Alexander Simon 5847d5c099 Add support for RPi4 Model B running arm64 Linux 2019-08-07 13:36:37 +02:00
joan2937 b71e8535eb
Merge pull request #281 from foreignmeloman/master
V70+: Add option to build the libraries statically
2019-08-01 11:39:59 +01:00
foreignmeloman 710a9462a3 Added option to build the libraries statically 2019-07-21 14:09:48 +04:00
joan2937 826ab960ed Merge branch 'master' of https://github.com/joan2937/pigpio 2019-07-14 21:30:08 +01:00
joan2937 8081a97ba2 V70 2019-07-14 21:25:18 +01:00
joan2937 f660834a7a V69+: BCM2711 PLLD 500->750 MHz Crystal 19.2->54M 2019-07-14 20:47:20 +01:00
joan2937 b407ab741d V69+: #258 reject and document illegal script commands 2019-07-11 10:09:35 +01:00
joan2937 5b416b699b V69+: #280 SPI/BSC SLAVE peripheral not available on BCM2711 2019-07-07 12:52:44 +01:00