I wrote a little tool to show what "board.*" defines for a #CircuitPython build. I got tired for always trawling through ports/*/boards for it. It's called "cirpy-showpins" and its output looks like the below. I used #Perl originally but here's it in Python: https://gist.github.com/todbot/e91853b9d5e021405bb9a85081a39163