261 Commits

Author SHA1 Message Date
Maxim
655a8dd474 git changes 2026-05-04 09:33:30 +03:00
sasha80
9d8910af0a Доработка. Функция для чтения параллельного порта. Пример в котором данные с параллельной шины направляются в stdout 2026-04-20 08:20:42 +03:00
sasha80
ade3b26942 Добавлен пример для работы прерывания по gpio 2026-04-15 11:34:49 +03:00
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
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
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
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
Naoki Iwakami
e4ab8a78b3 Add gtest cases for ISR 2025-08-29 05:24:49 +00:00
Naoki Iwakami
39cda3aac4 Merge branch 'develop' into issue-378 2025-08-19 10:23:42 -07: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
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
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
Manfred Wallner
70a455a2c8 Merge branch 'develop' into cleanup 2025-06-05 13:21:55 +02:00
mstroh
ea0dd8ca8a Merge branch 'develop' into GPIO_V2_IOCTL 2025-06-01 11:36:56 +02:00
Connor Gibson
6c51ad838e [drcNet.c] Remove digitalRead8() and digitalWrite8() comments 2025-05-31 19:45:01 -07:00
Connor Gibson
044af6cb9a Fix indentation 2025-05-31 19:45:01 -07:00
Connor Gibson
fbd4353121 Remove deprecated digitalRead8() and digitalWrite8() functions from comments 2025-05-31 19:45:01 -07:00
mstroh76
b5eac60627 Release 3.16 2025-05-31 19:43:14 +02:00
mstroh
5a2a758a98 Merge pull request #353 from Next-Door-Tech/SPIxSetup 2025-05-31 07:05:52 +02:00
Connor Gibson
18a1509b5c Update copyright date 2025-05-30 19:15:47 -07:00
Connor Gibson
efbf39df02 Add function definition for wiringPiSPIxSetup() 2025-05-30 19:15:47 -07:00
Connor Gibson
7d30759eac [test/Makefile] Auto-generate .gitignore for test executables 2025-05-30 19:11:09 -07:00
mstroh76
e914bb2300 #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:31:00 +02:00
mstroh76
545eb4f5ed #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:30:02 +02:00
mstroh76
82a22367fc #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:28:44 +02:00
mstroh76
bb0af18265 #264 adjust unit test and autodetect unit test 6.2 irq 2025-05-24 12:23:02 +02:00
mstroh76
0b8eede1bd #346 adjust unit test 2025-05-23 20:51:06 +02:00
mstroh76
b87ca97daf #264 adjust unit test and fix is40pin 2025-05-23 19:51:01 +02:00
mstroh76
18fc04d7f2 #322 check pin numbers after convert to BCM 2025-05-18 21:17:09 +02:00
mstroh76
d5f0ea06f4 #337 ISr user datat and unit test 2025-05-04 19:41:14 +02:00
mstroh76
08033bc787 #346 unit test adjust 2025-05-04 13:42:35 +02:00
mstroh76
31bf218a7c #346 unit test irq dection time with debounce 2025-05-04 12:20:48 +02:00
mstroh76
323f4d09f3 #346 ajust unit test for Pi1 2025-05-03 20:26:31 +02:00
mstroh76
50908a31eb #346 unit test 2025-05-02 19:51:24 +02:00
mstroh76
b71a2b688e #346 irq status var name ajust 2025-05-02 19:50:44 +02:00
mstroh76
38274fe6e8 #346 GPIO Character Device Userspace API V2 - compatibility to old interface 2025-05-02 13:10:40 +02:00