I have the same issue here. Just to add my two cents:
I manually edited all references to SOC_GPIO_PIN_COUNT to GPIO_PIN_COUNT. If I then try to compile the project, I get a different error:
[Codebox]'MHZ' was not declared in this scope[/Codebox]
Both SOC_GPIO_PIN_COUNT and MHZ are defined under [Codebox]components/arduino/tools/sdk/esp32/include/soc/[/Codebox], so this looks to me like an issue of files in this folder not being properly included when the build happens.
Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope
-
- Posts: 1
- Joined: Fri Jan 22, 2021 10:49 pm
Re: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope
I fixed this issue by running [Codebox]idf.py menuconfig[/Codebox] and enabling Component config -> Driver configurations -> RTCIO configuration -> Support array `rtc_gpio_desc` for ESP32.
Who is online
Users browsing this forum: No registered users and 76 guests