
31 Mar
2008
31 Mar
'08
5:37 p.m.
I don't think is a good idea. The code as presented is actually not suited for such an extension. And I definitly don't want to plan for another #ifdef maze.
Are you aware of the "reginfo" command? Few people seem to know it.
Maybe you should add such code there.
As far as I managed to understand, reginfo just shows a dump of CPU based register values, while pario allows you to set and get the value of a GPIO port - two different things. We found this very useful for debugging our board, and I think it can be useful for many other processor families as well. David.