Commit Graph

504 Commits

Author SHA1 Message Date
Manfred Wallner
c6bdf371d5 Merge pull request #414 from WiringPi/mstroh76-patch-1
Unit test: Adjust for Pi1/Zero test hardware
2026-02-08 21:28:11 +01:00
Manfred Wallner
056d3b5332 Merge pull request #415 from WiringPi/mstroh76-patch-2
Unit test: Supporting 5 SPI CS channels
2026-02-08 21:27:46 +01:00
Manfred Wallner
c88fb22b2d Merge pull request #416 from WiringPi/mstroh76-patch-3
Unit test: Adjust MaxPWMFreq for Raspberry Pi 1 models
2026-02-08 21:27:05 +01:00
mstroh
3025af515e Adjust MaxFreq for Raspberry Pi 1 models
Updated maximum frequency settings for Raspberry Pi models.
2026-01-18 11:10:55 +01:00
mstroh
111f4f36d1 Unit test supporting 5 SPI CS channels 2026-01-17 19:45:30 +01:00
mstroh
ece0ffe62a Change ANOTHER_LISTENER_PIN to BCM 12
old has conflict with SPI CE1
2026-01-17 16:27:49 +01:00
mstroh
960b112000 Adjust for Pi1/Zero test hardware 2026-01-17 15:00:49 +01:00
mstroh
4d74f33200 Merge pull request #413 from WiringPi/wiringPiISR
Release 2026
2026-01-17 11:11:53 +01:00
mstroh76
cd882f6cf3 #412 Update Version und date to 2026 2026-01-10 17:35:57 +01:00
mstroh76
c8c6790926 adjust Pi4 speed, Kernel 6.12.47, Bookwork, 2026 2026-01-10 17:15:10 +01:00
mstroh76
2d22070aa3 #411 support CS0-4 2026-01-10 17:06:26 +01:00
mstroh76
565097557d Merge branch 'wiringPiISR' of github.com:WiringPi/WiringPi into wiringPiISR 2025-11-02 21:24:40 +01:00
mstroh76
22a96cb61f #408 gpio -x unit test 2025-11-02 21:23:46 +01:00
mstroh
0f76f5e116 #407 en fix ISR example 2025-11-02 18:45:03 +01:00
mstroh
08cf61daff #407 en fix ISR example 2025-11-02 18:39:14 +01:00
mstroh
c9f08c9e7b #407 de fix ISR example 2025-11-02 18:36:57 +01:00
mstroh76
4ef1f91cbb #396 fix unit test problems 2025-09-28 19:43:52 +02:00
mstroh76
b3394383eb #396 fix unit test problems 2025-09-28 19:19:26 +02:00
mstroh76
a687840a87 #396 longer delay for Pi1 comp. 2025-09-19 20:11:27 +02:00
mstroh76
b54a60a598 #396 change pins to default unit test hardware (Pi1 comp.) 2025-09-13 15:48:34 +02:00
mstroh
be0f0ea3c7 Merge pull request #398 from naokiiwakami/issue-396
Add gtest cases for ISR
2025-09-13 15:13:35 +02:00
Naoki Iwakami
e4ab8a78b3 Add gtest cases for ISR 2025-08-29 05:24:49 +00:00
mstroh
0add43c2fa Merge pull request #379 from naokiiwakami/issue-378
Issue #378 - Have wiringPiISR and wiringPiISR2 return error on failure in initialization
2025-08-26 17:40:00 +02:00
Naoki Iwakami
39cda3aac4 Merge branch 'develop' into issue-378 2025-08-19 10:23:42 -07:00
mstroh
f9f4dc3240 Merge pull request #387 from Next-Door-Tech/fix-386
Fix-386
2025-08-19 17:30:05 +02:00
Connor Gibson
1c23447a7b Replace switch with if-else
Fixes #386
2025-08-02 19:12:12 -07:00
Naoki Iwakami
e020bb8b6c Fix issues found by tests 2025-06-19 19:37:03 +00:00
Naoki Iwakami
74a28addd6 Have wiringPiISR and wiringPiISR2 return error on failure in initialization
The each function initializes the event listener loop in a spawned
listener thread. The new thread does not report errors back to the
original caller. So the function misses initialization errors.
The code is fixed to initialize the event listener in the original
thread before spawning the listener thread so that the function
can pick up errors and return them to the user.
2025-06-19 14:49:25 +00:00
mstroh
82aa8920a7 Merge pull request #355 from Next-Door-Tech/stdbool
Switch to stdbool.h
2025-06-11 16:30:59 +02:00
mstroh
5014563de5 Merge pull request #369 from Next-Door-Tech/small-fixes
Small fixes
2025-06-08 10:16:20 +02:00
Connor Gibson
b243be74d4 Swap out-of-order arguments to calloc 2025-06-07 15:30:47 -07:00
Connor Gibson
454d50319a Add void argument list for void GetRP1Memory(void)
Function definitions without an argument list are disallowed in C23.
Removed dropped arguments in later call to function.
2025-06-07 15:25:35 -07:00
Connor Gibson
55e189eda5 Switch to stdbool.h
- Add `#include <stdbool.h> to all files previously using the
   `TRUE`/`FALSE` macros
 - Replace all instances of `TRUE`/`FALSE` with `true`/`false`,
   respectively
 - Definitions of `TRUE`/`FALSE` macros retained in wiringPi.h for compatibility.
2025-06-07 13:14:49 -07:00
Manfred Wallner
3cf394b206 Merge pull request #365 from WiringPi/docu-3.16
Docu 3.16
2025-06-06 20:18:22 +02:00
mstroh76
a18355e1d9 move old gpio unit tests 2025-06-06 19:39:45 +02:00
mstroh76
f350e4f857 wiringPiSPISetupMode fix 2025-06-06 19:38:14 +02:00
mstroh
d59f9547f4 Merge pull request #364 from nds2204/patch-1
Update functions.md
2025-06-06 19:28:34 +02:00
mstroh
c4a7a98860 Merge branch 'docu-3.16' into patch-1 2025-06-06 19:28:16 +02:00
Nicolas DA SILVA
7bec94a85a Update functions.md
Missing "Mode" in wiringPiSPISetupMode example
2025-06-06 19:23:47 +02:00
mstroh76
681c5f13ef #363 v3.16 I2C function deutsch 2025-06-06 18:56:01 +02:00
mstroh76
30cbdf9373 #363 v3.16 ISR docu english / deutsch 2025-06-06 18:29:56 +02:00
Manfred Wallner
af7417d5c8 Merge pull request #354 from Next-Door-Tech/cleanup-conditionals
[cleanup] Remove extra indents before `if` followed by `if else`
2025-06-06 12:04:28 +02:00
Connor Gibson
b86be0969d Remove extra indents before if followed by if else
This was driving clangd crazy - replaced with indents between the if and conditional parentheses in most places.
2025-06-05 22:16:43 -07:00
mstroh
9924265347 GPIO Character Device Userspace API Version 2 2025-06-05 20:15:08 +02:00
mstroh
9cf2d3e5d0 Update functions.md 2025-06-05 20:10:56 +02:00
mstroh
e4ade1840d Update functions.md 2025-06-05 19:46:47 +02:00
mstroh
1fdd4f91e9 Update new ISR functions 2025-06-05 19:43:39 +02:00
mstroh
df8e4b9b42 Merge pull request #362 from WiringPi/maint-note
(maint) note on ports-support
2025-06-05 19:01:34 +02:00
Manfred Wallner
26b4d8583e (maint) note on ports-support 2025-06-05 13:35:46 +02:00
Manfred Wallner
ce34a1f5df Merge pull request #350 from Next-Door-Tech/cleanup
[cleanup] Remove comments referencing deprecated `digitalRead8()` and `digitalWrite8()` functions
2025-06-05 13:23:02 +02:00