I have Torizon installed on my Toradex module and a.Net project configured in VSCode with the Torizon Visual Studio Code extension installed. I’m using “System.Device.Gpio” (installed from NuGet) to interface with GPIO. When I start debugging or running without debugging I get:
“Unhandled exception. System.IO.IOException: Read-only file system”. This occurs with the following line of code following line of code:
“controller.OpenPin(404, PinMode.Output);” (i’m trying to access GPIO3.IO20)
I also have the following setup in Custom Properties:in Torizon Configurations:
extrapackages - gpiod
buildcommands - RUN usermod -a -G gpio torizon
devpackages - libgpiod-dev:arm64 libgpiod2:arm64
in the devices field - /dev/gpiochip3 ( actually have all gpiochip banks configured)
Any ideas? How can i make the file system “writable” for what i need to do?
Thanks