Unable to use analog pins A8-A11 on Giga R1 WiFi

I'm trying to write a program to read analog input on pins A0-A8. The code works just fine for A0-A7 but outputs an error for the remaining pins. I've seen people discuss AdvancedADC but they mention no support for A8-A11. Any idea what could be the issue here as well as any solution?

Error below:

error: call to 'PureAnalogPin::operator int' declared with attribute error: Change me to a #define
 const int   THERM_PIN   = A8;
                           ^~

exit status 1

Compilation error: call to 'PureAnalogPin::operator int' declared with attribute error: Change me to a #define

Hi @ibra_k , try changing A8-A11 from const int to const PureAnalogPin. These pins are handled differently in the Arduino APIs.

Hi @steve9, this solved it. const int works for A0-A7 and const PureAnalogPin works for A8-A11. Thank you!

happy to help