GPIOs


(syedusama) #1

GPIOs of hifive unleashed are not available on the internet as i was trying to make a project on the kit which is smart lock so i need GPIOs driver to access the kit’s GPIOs to lock or unlock the electric lock


(John Min) #2

Are you running Linux or bareiron?
There are Linux and Uboot drivers.
https://www.mail-archive.com/u-boot@lists.denx.de/msg338835.html


(Wladimir van der Laan) #3

The linux patch doesn’t seem to have made it upstream yet but it’s here: https://raw.githubusercontent.com/westerndigitalcorporation/RISC-V-Linux/master/patches/riscv-linux/0007-gpio-sifive-support-GPIO-on-SiFive-SoCs.patch

Anyhow you’d have to be more specific in your question to get more specific answers.