Commit Graph

136 Commits

Author SHA1 Message Date
mstroh76
d3a23725b8 #210 2024-04-27 18:19:46 +02:00
mstroh76
58fd2654a3 #219 report /dev/gpiochip support 2024-04-26 17:45:12 +02:00
mstroh76
5e6018ec07 #219 test2 2024-04-26 17:28:02 +02:00
mstroh76
734cebe8bf #219 test1 2024-04-21 17:59:46 +02:00
mstroh76
ad6d821329 #219 boost speed and improve compatibility with sysfs 2024-04-20 19:48:33 +02:00
mstroh76
b0c5793086 #219 2024-04-16 18:50:37 +02:00
mstroh76
34b0f368a7 #221 2024-04-15 12:49:38 +02:00
mstroh76
e7726a4f0a #221 2024-04-14 11:51:38 +02:00
mstroh76
4046741cd7 #208 2024-03-25 16:38:18 +01:00
mstroh76
b832d204e5 #204 fix message: ISR function alread active, ignoring 2024-03-24 11:10:59 +01:00
mstroh76
c1a86f41f2 #204 2024-03-22 18:21:18 +01:00
mstroh76
8ca0819c0c #200 2024-03-15 19:57:38 +01:00
mstroh76
e058081427 #194 2024-03-09 20:59:24 +01:00
mstroh76
6590de3ef4 #195 2024-03-09 19:29:42 +01:00
mstroh76
39663ba396 #194 2024-03-09 14:11:06 +01:00
mstroh76
417d54649d #25 2024-02-27 20:22:54 +01:00
mstroh76
d9486acc1a V3 2024-02-27 20:01:55 +01:00
Manfred Wallner
2ea22011d3 Merge branch 'master' into Pi5 2024-02-25 20:12:51 +01:00
mstroh76
e0abd481fa #22 2024-02-25 10:16:33 +01:00
mstroh76
49997b9568 #17 2024-02-17 13:40:29 +01:00
mstroh76
107b9ee4c2 #17 PinDrive 2024-02-16 21:16:20 +01:00
mstroh76
9796fa7fb1 #17 setPadDrive 2024-02-16 18:29:26 +01:00
mstroh76
3e60ec4d23 #17 2024-02-12 21:01:39 +01:00
mstroh76
af5baeac32 #17 2024-02-11 20:22:00 +01:00
mstroh76
76fb93fb43 #17 2024-02-11 14:10:22 +01:00
mstroh76
e8e3f78574 #16 2024-02-04 16:26:31 +01:00
mstroh76
888d88ef6e #16 2024-01-27 19:24:43 +01:00
mstroh76
bde772c4b0 #16 2024-01-27 16:41:46 +01:00
mstroh76
eae109e6f8 #16 2024-01-27 16:36:03 +01:00
mstroh76
19874871de #16 2024-01-27 16:33:04 +01:00
mstroh76
6f9b9ecf5c #15 2024-01-27 15:27:46 +01:00
mstroh76
f01ff41b3a #15 2024-01-27 09:09:18 +01:00
mstroh76
6d5108edf2 #15 2024-01-27 09:03:25 +01:00
mstroh76
af9f887aa9 Fix /proc/cpuinfo on new Raspberrys without Hardware line 2024-01-15 11:33:58 +01:00
Philip Howard
a83d64ea6c Prep for deb release as 2.70
This is a general tidyup to detach this fork better from Gordon, who was (and perhaps still is) completely inundated with WiringPi-related support questions.

This changeset includes a number of tweaks which should reduce support burden on Gordon. I believe they are essential if we plan to release a new debian package.

They should - hopefully - not reduce or make ambiguous the origins of this code while achieving the above.

* Remove Gordon's email address from all source files to avoid support queries finding their way to him
* Update wiringPi URLs to the GitHub repository to try and keep bugs/issues within the fork
* Bump version to 2.70 ready for a debian package release
* Update debian package maintainer info, add bugs & homepage URLs to this repository
2022-02-09 11:58:59 +00:00
Mark Liffiton
5de0d8f573 Add comment w/ source for board type codes. 2021-12-23 12:27:13 -06:00
PinkFreud
a8112d8677 Add support for the Zero 2 W (#128)
* Changes to support the Zero 2 W (model type 18|0x12)

* Increment version in version.h

* Increment version in debian-template/wiringPi/DEBIAN/control

* Increment version in VERSION as well - I keep missing places where this number is defined

* Increment VERSION_MINOR, missed in previous commits; add missing Pi Z2W model name to piModelNames

Co-authored-by: schwartz <pi@schwartz>
Co-authored-by: PumpkinPi <jack@mirkwood.net>
2021-12-23 12:22:09 -06:00
Mark Liffiton
b1970802ba Reduce size of a buffer to quiet a spurious warning. Fixes #133.
A recent compiler complains about the sprintf() in authenticate() being able to
write up to 1023 bytes into challenge, which is not possible given that getChallenge()
returns a string 10 bytes smaller than whatever string is in its 1024 byte buffer.
Reducing the size of the buffer in getChallenge() quiets the warning.  It should not
affect anything else, as the challenge string is used as a salt that must be <= 96 bits.
2021-11-22 11:49:47 -06:00
Kurt Tomlinson
376b682dca Remove inappropriate comments 2021-11-21 19:33:39 -06:00
toca21
5cabf4a4f8 Fixed the Compute Module 4 pin mode setting. The CM4 is equal to RB4 std platform, not CM3 family as it turned out. 2021-07-20 21:49:53 +02:00
Peter Kovary
772e1198dd Return error from softPwmCreate if pthread_create fails
If `pthread_create` fails, `newPin` will never get reset to -1 and process would hang. This change will return from `softPwmCreate` immediately if  `pthread_create` returns a non-zero value and avoid hanging forever.
2021-06-19 12:55:49 +01:00
Mark Liffiton
afddd8c504 Merge pull request #114 from wolfv/patch-1
LIBS have to come after OBJ files for recent GCC
2021-06-14 20:56:02 -05:00
Wolf Vollprecht
d903619255 LIBS have to come after OBJ files for recent GCC 2021-06-08 17:52:44 +02:00
MichaIng
f152400923 Update wiringPi.c
wiringPi.c:1328:21: warning: ‘digitalWrite8Dummy’ defined but not used [-Wunused-function]
 1328 | static         void digitalWrite8Dummy       (UNU struct wiringPiNodeStruct *node, UNU int pin, UNU int value) { return ; }
      |                     ^~~~~~~~~~~~~~~~~~
wiringPi.c:1327:21: warning: ‘digitalRead8Dummy’ defined but not used [-Wunused-function]
 1327 | static unsigned int digitalRead8Dummy        (UNU struct wiringPiNodeStruct *node, UNU int UNU pin)            { return 0 ; }
      |                     ^~~~~~~~~~~~~~~~~

The related nodes at line 1360 and 1362 have been commented before.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-05-01 21:32:50 +02:00
fanoush
10be9486ff set WPI_MODE_GPIO as a default mode also for CM4 (#92) 2021-03-30 10:47:47 -05:00
freddyrios
22fac72e1a fixes WiringPi/WiringPi#100 (#101)
Replaces a bare wait() with waitpid() to only wait on the just-forked process.
2021-02-23 21:20:12 -06:00
Philip Howard
d4b96c7cb4 Merge pull request #85 from namikata2020/rpi4_8g
Add piMemorySize for rpi4 8G
2020-11-26 16:36:49 +00:00
fanoush
1aed7f7c9d Add support for Pi 400 and CM4 2020-11-26 15:57:05 +01:00
namikata2020
6ca0231124 Add piMemorySize for rpi4 8G 2020-10-06 14:50:12 +09:00
Philip Howard
5c6bab7d42 Merge pull request #79 from DavidAntliff/debian-fix
Remove hard-coded destination paths for debian package creation.
2020-09-14 15:02:31 +01:00