From 29a609d53f487b57f30e70c656c43aa33f987b10 Mon Sep 17 00:00:00 2001 From: Andrew Cornford Date: Sat, 8 Jul 2017 11:42:14 +0100 Subject: [PATCH 1/3] Added support for Raspberry Pi model B. --- Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs b/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs index e224193..d0a9187 100644 --- a/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs +++ b/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs @@ -299,6 +299,7 @@ private static uint GetProcessorBscAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_BSC1_BASE; @@ -314,6 +315,7 @@ private static uint GetProcessorGpioAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_GPIO_BASE; From f85c291fa7da2fbb2959c5dd797277351616f66b Mon Sep 17 00:00:00 2001 From: Andrew Cornford Date: Mon, 10 Jul 2017 08:10:22 +0100 Subject: [PATCH 2/3] Added General Purpose GPIO support for Raspberry Pi model B. --- Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs b/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs index 8cef799..97b8ab2 100644 --- a/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs +++ b/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs @@ -291,6 +291,7 @@ private static uint GetProcessorBaseAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_GPIO_BASE; From 1f7923e675e1c951c1c3514026bb1c83c5ea4c12 Mon Sep 17 00:00:00 2001 From: Andrew Cornford Date: Tue, 12 Sep 2017 09:14:59 +0100 Subject: [PATCH 3/3] MemoryGpioConnectionDriver.cs now also supports Raspberry Pi model B. --- Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs b/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs index 98af11f..2bd7172 100644 --- a/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs +++ b/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs @@ -247,6 +247,7 @@ private static uint GetProcessorBaseAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_GPIO_BASE; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy