I was looking to access the GPIO header (J21, e.g., pin GPIO.26, ref: https://www.sifive.com/document-file/premier-p550-carrier-board-schematic) on the carrier board from the software using python or c code on Ubuntu. Could you point to any demo or example codes to access GPIOs?
Thanks.