How can I access GPIO in Duo S?

I have a Milk-V Duo S board, where’s the GPIO pin map for /sys/class/gpio pin numbers and wiringX pin numbers?

1 Like

Use this: duo-files/duo-s/hardware/SG2000-PINOUT.xlsx at main · milkv-duo/duo-files · GitHub
and this: https://github.com/sophgo/sophgo-doc/releases/download/sg2000-trm-v1.0-beta/sg2000_trm_en.pdf
and this: https://milkv.io/duo-s/duos-pinout.webp

Should answer anything GPIO related, if it’s a wiringX/driver issue, you may want to check out my post about dealing with that manually (part 2 of the 8051 thing) without using wiringX.

1 Like

The pin has been updated to the documentation:

DuoS’s wiringX will be supported in the next version.

2 Likes