Heinz Junkes commented: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5198#note_118797


I just wanted to let you know that I'm working on it myself. 
I replaced the bsps/arm/beagle.gpio/bbb-gpio.c with the variant from ketul93
(https://gist.github.com/ketul93/d717555951174a74c8b4).
Unfortunately, the interrupt handling is not fully implemented there. 
By adding
```
+  mmio_set((gpio_bank_addrs[bank] + AM335X_GPIO_IRQSTATUS_SET_0), BIT(pin));
+  mmio_set((gpio_bank_addrs[bank] + AM335X_GPIO_IRQSTATUS_SET_1), BIT(pin));
```
I have managed to call the generic_isr. I am now struggling through the 
Reference Manual of the AM335x (4156 pages) to understand the GPIO support ...

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5198#note_118797
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to