CelliesProjects/voiceRecorderM5

'ADC1_GPIO34_CHANNEL' was not declared in this scope

sartys opened this issue · 1 comments

Thank you for all the hard lifting and providing great example.
Looks like libraries were changed (mostly API) and the error in the subject appears.
The following should make the compiler happy:
#define ADC1_GPIO34_CHANNEL ADC1_CHANNEL_6

I could do a pull request, unfortunately, I don't have Fire (PSRAM) v2.6 handy to check this on the hardware

Thanks for the submitting this. But that is not the only issue with esp32 core versions 2.0.0 and greater.
Just compiled it with 2.0.5 -success!- and then got this nice one at runtime:

[ 2303][W][esp32-hal-timer.c:226] timerAttachInterrupt(): EDGE timer interrupt is not supported! Setting to LEVEL...

And then a frozen M5Stack.
So not working for now with 2.0.0 and greater.