--- Log opened Mon Mar 28 00:00:55 2016 | ||
wallento | nobody applied for GCC | 02:31 |
---|---|---|
wallento | :) | 02:31 |
wallento | mafm: ^ | 02:31 |
andrzejr | wallento, re GPIO, how about this: https://github.com/andrzej-r/wb_gpio | 12:01 |
andrzejr | https://github.com/andrzej-r/orpsoc-cores/blob/nexys4ddr/cores/wb_gpio/wb_gpio.core | 12:01 |
wallento | yes, that is a good starting point | 13:30 |
wallento | I would extend it a bit, andrzejr | 13:30 |
wallento | generalize it to more GPIO lines | 13:31 |
wallento | and add interrupts | 13:31 |
andrzejr | wallento, sure. Watch out for problems with word size (l.sb/sh/sw), though. I've been going through many iterations of the wb_data_resize.v, the latest version is in: https://github.com/andrzej-r/orpsoc-cores/blob/nexys4ddr/cores/wb_intercon/wb_data_resize.v | 14:36 |
andrzejr | not sure what is the current state of this file in master but when I started using fusesoc I couldn't access my 16b GPIO IO with any type of instructions. | 14:41 |
andrzejr | btw, number of GPIOs is limited by the bus size. Why would you like more? | 15:00 |
wallento | andrzejr, just multiple registers | 15:21 |
wallento | I want to map virtually all pins in | 15:21 |
wallento | also pmods if desired | 15:22 |
andrzejr | I see. Do you plan using "jbtrivial" linux driver or something else? | 15:26 |
wallento | interesting, I did not have a look at it so far | 15:32 |
wallento | I am envisioning the pmod switch to allow runtime mapping of the pmods to functional blocks | 15:32 |
wallento | and then have the gpio module with similar functionality as one can find in a microcontroller | 15:33 |
wallento | I will have a look at it, thanks! | 15:33 |
wallento | I think I will map them in groups to page boundaries | 15:40 |
wallento | that way they can be mapped to userspace even | 15:41 |
--- Log closed Tue Mar 29 00:00:56 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!