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

error: 'rtc_gpio_desc' undeclared #57

Closed
alangoveia opened this issue Jan 18, 2020 · 8 comments · Fixed by #70
Closed

error: 'rtc_gpio_desc' undeclared #57

alangoveia opened this issue Jan 18, 2020 · 8 comments · Fixed by #70

Comments

@alangoveia
Copy link

I am having a trouble with the error: 'etc_gpio_desc'

App "esp32-homekit-camera" version: 2a26d79 CC build/esp32-camera/driver/twi.o /home/ubuntucamera/esp/esp32-homekit-camera/components/esp32-camera/driver/twi.c: In function 'pinMode': /home/ubuntucamera/esp/esp32-homekit-camera/components/esp32-camera/driver/twi.c:61:24: error: 'rtc_gpio_desc' undeclared (first use in this function); did you mean 'rtc_io_desc'? uint32_t rtc_reg = rtc_gpio_desc[pin].reg; ^~~~~~~~~~~~~ rtc_io_desc /home/ubuntucamera/esp/esp32-homekit-camera/components/esp32-camera/driver/twi.c:61:24: note: each undeclared identifier is reported only once for each function it appears in /home/ubuntucamera/esp/esp-idf/make/component_wrapper.mk:291: recipe for target 'driver/twi.o' failed make[1]: *** [driver/twi.o] Error 1 /home/ubuntucamera/esp/esp-idf/make/project.mk:604: recipe for target 'component-esp32-camera-build' failed make: *** [component-esp32-camera-build] Error 2

I executed the command make menuconfig and set the parameters.
when I try to flash i got the error above.
Anyone experienced that?
thanks

@Millhouse273
Copy link

I#m having the same problem. Trying all night to get it running with no sucess :-(

@maximkulkin
Copy link
Owner

There is a setting on latest ESP-IDF you need to enable for this project. I’m afk now, but you should be able to find it somewhere in component configs -> device configurations -> rtc something. Just enable it and it will compile.

@Millhouse273
Copy link

Thanks alot for your answer. I found it and now my camera is online. Great project by the way!

@alangoveia
Copy link
Author

thanks a lot Maxim
It is in Component config > driver configurations > RTCI0 configuration

thanks again

@andreacantadori
Copy link

Thank you, extremely useful, I was stuck on this for 1 hour...

@krambriw
Copy link

I have the same problem, fighting with this. Arduino w ESP support added. First under Linux, now on Windows, with this project:
https://www.hackster.io/anatoli-arkhipenko/multi-client-mjpeg-streaming-from-esp32-47768f

Same problem both on Linux as Windows
exit status 1 'rtc_gpio_desc' undeclared (first use in this function)
twi.c uses rtc_gpio_desc and it requires Component config > driver configurations > RTCI0 configuration > "Support array 'rtc_gpio_desc' for ESP32
I do not use make menuconfig so is there another way I can fix this, a file somewhere to edit?

@Sarah-C
Copy link

Sarah-C commented Sep 3, 2022

@krambriw Same here :(

@than-sad
Copy link

Component config > driver configurations > RTCI0 configuration this option is missing in the actual ESP-IDF 5.0.1

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

Successfully merging a pull request may close this issue.

7 participants