I am trying to configure Analogin_rev pin as ADC pin and I did the code changes, but I am getting the error -22 while trying to Configure ADC channel. Here is the snippet of the Analogin_rev pin and board overlay changes along with the code change. Can you please suggest what I am missing ?






How do I map the physical pin P1.11 to the ADC channel how shall I proceed on this ?