check out the following linksesp32-s2 info imagesesp32-s2 pinoutsdevelopment kit : download and build from here
micropython firmware image
jump to hardware reference section>