Skip to content

Windows 11 IoT (Enterprise) GpioController support #13

@nietras

Description

@nietras

Trying to use .NET/UWP GpioController for GPIO on Latte Panda Mu with Full Carrier Board on Windows 11 IoT Enterprise (x64), but this appears to fail:

Unhandled exception. System.NotSupportedException: No GPIO controllers exist on this system.
   at System.Device.Gpio.Drivers.Windows10Driver..ctor()
   at System.Device.Gpio.GpioController.GetBestDriverForBoardOnWindows()
   at System.Device.Gpio.GpioController.GetBestDriverForBoard()
   at System.Device.Gpio.GpioController..ctor(PinNumberingScheme numberingScheme)
   at System.Device.Gpio.GpioController..ctor()
   at Program.<Main>$(String[] args) in C:\Users\Niels\source\repos\GpioDemo\Program.cs:line 7
   at Program.<Main>(String[] args)

e.g. with simple code like:

new System.Device.Gpio.GpioController()

I have installed drivers as found here in this github repo and device manager shows the following for system devices. Maybe something is missing or?

Or how can I use the GPIO from .NET 8/9 in Windows?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions