PumpkinPi
8229a92020
Increment VERSION_MINOR, missed in previous commits; add missing Pi Z2W model name to piModelNames
há 3 anos
schwartz
17f0970a0f
Increment version in VERSION as well - I keep missing places where this number is defined
há 3 anos
schwartz
464ea161f4
Increment version in debian-template/wiringPi/DEBIAN/control
há 3 anos
schwartz
380699d30a
Increment version in version.h
há 3 anos
schwartz
a682a01a25
Changes to support the Zero 2 W (model type 18|0x12)
há 3 anos
Mark Liffiton
7f8fe26e4f
Merge pull request #120 from toca21/master
Fixed the Compute Module 4 pin mode setting.
há 3 anos
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.
há 3 anos
Mark Liffiton
6a17382a0a
Merge pull request #115 from Faboor/patch-1
Return error from `softPwmCreate` if `pthread_create` fails
há 3 anos
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.
há 3 anos
Mark Liffiton
afddd8c504
Merge pull request #114 from wolfv/patch-1
LIBS have to come after OBJ files for recent GCC
há 3 anos
Mark Liffiton
8b33c328be
Merge pull request #111 from MichaIng/patch-1
Fix build warnings
há 3 anos
Wolf Vollprecht
d903619255
LIBS have to come after OBJ files for recent GCC
há 3 anos
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>
há 3 anos
Philip Howard
f66c883d7c
Update README.md to clarify project status ( #81 )
há 3 anos
fanoush
10be9486ff
set WPI_MODE_GPIO as a default mode also for CM4 ( #92 )
há 3 anos
freddyrios
22fac72e1a
fixes WiringPi/WiringPi#100 ( #101 )
Replaces a bare wait() with waitpid() to only wait on the just-forked process.
há 3 anos
Philip Howard
e9821abdb4
Merge pull request #90 from WiringPi/patch-build
Remove projects@drogon.net contact from build
há 4 anos
Phil Howard
0bfff4e208
Update support contacts for INSTALL and gpio.1
há 4 anos
Philip Howard
3772a913d0
Merge pull request #91 from WiringPi/patch-actions
GitHub Actions
há 4 anos
akvavit01
91f3520239
Fix for multiple definition of comDat ( #76 )
* Fix for multiple definition of comDat
há 4 anos
Philip Howard
d4b96c7cb4
Merge pull request #85 from namikata2020/rpi4_8g
Add piMemorySize for rpi4 8G
há 4 anos
Philip Howard
4fc9420625
Merge pull request #89 from fanoush/master
Add support for Pi 400 and CM4
há 4 anos
Phil Howard
50fa6362f9
First crack at a build workflow
há 4 anos
Phil Howard
726d5c411c
Remove projects@drogon.net contact from build
há 4 anos
fanoush
1aed7f7c9d
Add support for Pi 400 and CM4
há 4 anos
namikata2020
6ca0231124
Add piMemorySize for rpi4 8G
há 4 anos
Philip Howard
5c6bab7d42
Merge pull request #79 from DavidAntliff/debian-fix
Remove hard-coded destination paths for debian package creation.
há 4 anos
Philip Howard
6d9ce35f00
Merge pull request #73 from CoRfr/master
Make external CC declaration possible
há 4 anos
David Antliff
f9ff3b4d35
Remove hard-coded destination paths for debian package creation.
há 4 anos
Mark Liffiton
50b7c5ed7d
Merge pull request #75 from ykla/master
Add piMemorySize for rpi4b
há 4 anos
FindWaySociety-ykla
7d8188d0bf
Add piMemorySize for rpi4
#include <stdio.h>
int main()
{
int bRev, bType, bProc, bMfg, bMem, bWarranty ;
int revision = 12595474; //Convert hexadecimal to decimal
bRev = (revision & (0x0F << 0)) >> 0 ;
bType = (revision & (0xFF << 4)) >> 4 ;
bProc = (revision & (0x0F << 12)) >> 12 ; // Not used for now.
bMfg = (revision & (0x0F << 16)) >> 16 ;
bMem = (revision & (0x07 << 20)) >> 20 ;
bWarranty = (revision & (0x03 << 24)) != 0 ;
printf ("piBoardId: rev: %d, type: %d, proc: %d, mfg: %d, mem: %d, warranty: %d\n",
bRev, bType, bProc, bMfg, bMem, bWarranty) ;
return 0;
}
/* revision see https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
*RPI revision is HEX.*\
há 4 anos
Bertrand Roussel
33fbcd7e50
Make external CC and CFLAGS declaration possible
há 4 anos
Mark Liffiton
5bbb6e34b8
Merge pull request #71 from neuralassembly/master
Keeping compatibility of hardware clock of Pi 4 with earlier versions.
há 4 anos
neuralassembly
651136a110
Keeping compatibility of hardware clock of Pi 4 with earlier versions.
há 4 anos
Mark Liffiton
1f908c5eed
Small change to reflect new version.
há 4 anos
Mark Liffiton
2a8e57a1c7
Update README, convert to markdown
With Gordon ending development of WiringPi, this repository needs to reflect the situation accurately and differentiate between Gordon's final code release and updates made since then.
há 4 anos
Mark Liffiton
16a23e3688
Merge pull request #70 from steveb/master
Add support for Raspberry Pi 4B
há 4 anos
Mark Liffiton
03e88aef04
One last 2.46->2.50 file update.
há 4 anos
Steve Baker
9aed9a4415
Increment version to 2.60
Now that the upstream maintainer has abandoned this project without
establishing another maintainer, its difficult to choose an appropriate
version number. Going with 2.60 for now, as this only has incremental
changes to support 4B.
há 5 anos
Steve Baker
41f941a78e
Fix GPIO pull up/down for Pi4B
Based on this raspi-gpio commit[1] the 2711 chip uses a different method
for pull up/down. This change implements that same method.
With this change, wiringPi now works for the Pi4B with the subset of
functionality used by zynthian.
[1] 80fa7d04ea
?diff=unified
há 5 anos
Steve Baker
a49f696232
Use correct peripheral address for Pi4B
há 5 anos
Steve Baker
aca883a051
Add support for Raspberry Pi 4B
This change make the following commands correctly detect the 4B
however there may be an issue with reading GPIO inputs on the 4B
as they are always returning zero.
The aim of this change is to be the source-equivalent of the binary
package release 2.52[1] which was the last release before upstream
development ceased.
[1] http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/
há 5 anos
Steve Baker
03204c3807
Sync with changes from wiringpi_2.50.orig.tar.gz
Sourced from http://archive.ubuntu.com/ubuntu/pool/universe/w/wiringpi/wiringpi_2.50.orig.tar.gz
há 5 anos
Mark Liffiton
093e0a17a4
Merge branch 'master' of git://git.drogon.net/wiringPi (v2.46)
há 6 anos
Gordon Henderson
8d188fa0e0
update for the v3+
há 6 anos
Philip Howard
0f7d03d9f0
Update README.TXT
há 7 anos
Phil Howard
c947643601
Merge branch 'master' of git://git.drogon.net/wiringPi
há 7 anos
Gordon Henderson
96344ff712
Fixed GPIO based address for Pi Zero-W
há 7 anos
Gordon Henderson
e8da87fbac
Added a fix to include -lcrypt for people who can't do it themselves.
Added gpio readall support for the Pi 0W.
há 7 anos
Gordon Henderson
70fa99a127
Bumped the version to 2.40 - correctly this time, I hope.
Added fixed for a few minor things. pin driver for rht03/dht type
sensors. Network stuff is experimental - for now.
há 7 anos