openocd
openocd copied to clipboard
Allow any gpio pin to be used (not just the first 32)
Previous implementation disallowed using higher pin numbers for srst etc, this removes that restriction
replaces https://github.com/raspberrypi/openocd/pull/113
Is the motivation for this PR to be able to use this with the additional GPIO pins that are exposed on the Compute Modules?
I've just noticed that this PR introduces a mix of tabs vs. spaces for indentation. IMHO it's best to be consistent (so stick to tabs, as that's what the original code was using).
Is the motivation for this PR to be able to use this with the additional GPIO pins that are exposed on the Compute Modules?
Yes, I have a board which is pin constrained and I needed to be able to use GPIO 44 as the reset pin... it wasn't initially clear that the request to do so was silently ignored. In theory any pin should be usable... hence the PR
I've just noticed that this PR introduces a mix of tabs vs. spaces for indentation. IMHO it's best to be consistent (so stick to tabs, as that's what the original code was using).
Thanks, fixed. I usually have my editor set up to auto convert, missed that in the diff.
I've just noticed that this PR introduces a mix of tabs vs. spaces for indentation. IMHO it's best to be consistent (so stick to tabs, as that's what the original code was using).
this should now be fixed