Skip to content

Commit 3e2b063

Browse files
committed
Drop support for Windows 10 IoT
1 parent c8fbd54 commit 3e2b063

17 files changed

+5
-1164
lines changed

src/System.Device.Gpio.Tests/WindowsDriverTests.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/System.Device.Gpio/System/Device/Gpio/Drivers/HummingBoardDriver.cs

Lines changed: 0 additions & 110 deletions
This file was deleted.

src/System.Device.Gpio/System/Device/Gpio/Drivers/RaspberryPi3Driver.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,7 @@ RaspberryBoardInfo.Model.RaspberryPiComputeModule4 or
151151
[MethodImpl(MethodImplOptions.NoInlining)]
152152
private static GpioDriver CreateWindows10GpioDriver()
153153
{
154-
// This wrapper is needed to prevent Mono from loading Windows10Driver
155-
// which causes all fields to be loaded - one of such fields is WinRT type which does not
156-
// exist on Linux which causes TypeLoadException.
157-
// Using NoInlining and no explicit type prevents this from happening.
158-
return new Windows10Driver();
154+
throw new PlatformNotSupportedException();
159155
}
160156

161157
private GpioDriver InternalDriver

src/System.Device.Gpio/System/Device/Gpio/Drivers/Windows10Driver.cs

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)