Skip to content

Commit

Permalink
Drop support for Windows 10 IoT
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrawehr committed Sep 21, 2024
1 parent c8fbd54 commit 3e2b063
Show file tree
Hide file tree
Showing 17 changed files with 5 additions and 1,164 deletions.
21 changes: 0 additions & 21 deletions src/System.Device.Gpio.Tests/WindowsDriverTests.cs

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,7 @@ RaspberryBoardInfo.Model.RaspberryPiComputeModule4 or
[MethodImpl(MethodImplOptions.NoInlining)]
private static GpioDriver CreateWindows10GpioDriver()
{
// This wrapper is needed to prevent Mono from loading Windows10Driver
// which causes all fields to be loaded - one of such fields is WinRT type which does not
// exist on Linux which causes TypeLoadException.
// Using NoInlining and no explicit type prevents this from happening.
return new Windows10Driver();
throw new PlatformNotSupportedException();
}

private GpioDriver InternalDriver
Expand Down
179 changes: 0 additions & 179 deletions src/System.Device.Gpio/System/Device/Gpio/Drivers/Windows10Driver.cs

This file was deleted.

Loading

0 comments on commit 3e2b063

Please sign in to comment.