Commit Graph

114 Commits

Author SHA1 Message Date
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
joan2937 da780491d9 V73: I2C_SLOTS to 512 (from 64) 2020-01-02 15:04:54 +00: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 5966a50e45 V71+: change the way DMA is reset to cater for edge case 2019-09-29 10:13:04 +01:00
joan2937 ad89f458c8 V71+: #286 arm64 socket i/f response 2019-08-16 16:58:45 +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
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 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
joan2937 e41362f243 V69+: Change DBG_ALWAYS to DBG_USER for expected socket events 2019-07-07 09:58:43 +01:00
joan2937 7ef99aee42 V68+: #261 close gpio ISR fd when ISR cancelled. 2019-07-02 18:38:19 +01:00
joan2937 3ea6fd94fd V68+: Changes for Pi4B (base address, default DMA channels, PUD) 2019-07-02 18:04:12 +01:00
Peter Michael Green 4985f93f67 Fix some screwups in 64-bit patch where PRIX64 was used where PRIXPTR should have been used. 2019-01-17 00:38:43 +00:00
Peter Michael Green 2e229d667f Add support for raspberry pi detection on arm64. 2018-12-08 20:41:42 +00:00
Peter Michael Green a5773d055e Fix compiler warnings on arm64. 2018-12-08 17:04:22 +00:00
Peter Michael Green a0c405ca6f Add code to detect if the system is in fact a raspberry pi. 2018-12-08 12:18:12 +00:00
joan bb352d2000 V68 2018-10-21 09:34:40 +01:00
joan f0beff07ea Merge branch 'keepalive' of https://github.com/guymcswain/pigpio into guymcswain-keepalive 2018-10-21 09:28:53 +01:00
Guy McSwain 7708dcb364 enable SO_KEEPALIVE and SO_REUSEADDR on sockets 2018-09-17 15:33:22 -05:00
Guy McSwain 1101ce4d5e Update reportedLevels prior to monitoring bits 2018-09-17 13:32:43 -05:00
joan 424ce5af6a V67: #160 buffer size to 512, improved active test 2018-03-13 13:38:58 +00:00
joan e02f824fe8 V67: #201 allow space for watchdog/event reports 2018-03-01 20:49:48 +00:00
joan e9ffe3d925 V66: #168 check commands against PI_CMD_SCRIPT 2018-02-13 22:04:21 +00:00
joan cf29b45ded V66: #133 fixed by simplifying timer loop 2018-02-13 21:39:02 +00:00
joan 5981d495cc V66: #178 update script parameters command PROCU 2018-02-13 09:14:28 +00:00
joan a41d63493b Issues #131 and #141 2018-02-06 16:01:45 +00:00
joan d5f32d3301 Docs plus reverse PR #164 flag meaning 2018-02-04 18:59:37 +00:00
joan 6e6b22d885 Merge branch 'master' of https://github.com/dbbnrl/pigpio into dbbnrl-master 2018-02-04 10:09:07 +00:00
joan 73ade1954b Include for issue #188 and ignore various errors 2018-02-04 10:00:46 +00:00
joan 50caa7b182 maintain backward compatibility with EMBEDDED_IN_VM 2018-02-04 09:47:41 +00:00
joan 748d9cebf8 Merge branch 'lib-signals' of https://github.com/MaitreDede/pigpio into MaitreDede-lib-signals 2018-02-04 09:29:58 +00:00
joan 847c081846 Changes by tateu 2018-02-04 09:10:22 +00:00
Dan Brown 3edc87fea5 Allow 3-op script cmds to use regs as 3rd operand. 2017-12-01 22:32:44 -05:00
Damien 3141c30a86 Replace conditionnal compilation symbol with internal configuration bit 2017-09-28 13:45:57 +11:00
TheRaspyDev 2c9a00a2f9 Fixing ifFlags check for additional flag 2017-05-19 10:24:19 +02:00
TheRaspyDev 32727085fc Resolve merge conflict 2017-05-19 10:14:06 +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 c4c8ce50c6 V62 2017-04-24 21:05:43 +01:00
joan 114653357b V61 2017-02-19 11:28:15 +00:00