Hello,
Although I fear already knowing the answer to my question I'm asking anyway who knows may be someone will have a good answer
Is there a standardized list of addresses corresponding to all GPIO on boards ?
If so where there find , otherwise what is the best way to find it for you?
Regard,
> Is there a standardized list of addresses corresponding to all GPIO on boards ?
Not really - different vendors tend to use different memory maps and different peripherals, although standard firmware libraries such as CMSIS can hide some of those differences.
> otherwise what is the best way to find it for you?
I'd start with the chip vendor's TRM for the specific device you are using,
HTH,Pete
That's what i think... As you want, i use a lot of dev board. For exemple a Beaglebone Black, or an OMAP5432 uEvm.
Maybe for the Ti arch i could use PASM with PRU instead of linux-gnu-as ?
really ? there's no good way to have a standardized adressing, may we could think about that ?
Isn't this what all the device tree support work is about, to stick a standard description of the devices on a board into the boot rom so any later code can use them without having to have constants built in? Linus Torvalds had a rant about this very point a couple of years ago and it is one of the jobs Linaro has done a lot of work to solve.
I understand what you mean. But it could be util to set a standard that board designers could follow ? There are many creative and linaro brought a lot of tools , but I think it will allow an encoding and optimized code optimization for embedded software drivers?