The documentation states:
I'm not interested in using Wi-Fi, so how can I avoid starting (or stop) the Wi-Fi driver to get access to the ADC2 pins?ADC2 is used by the Wi-Fi driver. Therefore the application can only use ADC2 when the Wi-Fi driver has not started.
I would also be fine with disabling the camera temporarily to get access to an ADC1 pin and then reenabling the camera.
Thanks