Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ADC1_GPIO34_CHANNEL' was not declared in this scope #1

Open
sartys opened this issue Nov 22, 2022 · 1 comment
Open

'ADC1_GPIO34_CHANNEL' was not declared in this scope #1

sartys opened this issue Nov 22, 2022 · 1 comment

Comments

@sartys
Copy link

sartys commented Nov 22, 2022

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

@CelliesProjects
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants