Search found 3 matches

by tiritomba
Sun Dec 13, 2020 6:48 pm
Forum: ESP32 Arduino
Topic: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope
Replies: 11
Views: 15243

Re: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope

I'm not sure how this fact helps in fixing the problem that SOC_GPIO_PIN_COUNT is not defined.
by tiritomba
Sat Dec 12, 2020 7:41 am
Forum: ESP32 Arduino
Topic: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope
Replies: 11
Views: 15243

Re: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope

Yes, but be careful. I just found out that "soc/soc_caps.h" is ambiguous:

1) in the arduino component
<projectfolder>/components/arduino/tools/sdk/esp32/include/soc/esp32/include/soc/soc_caps.h
(Here SOC_GPIO_PIN_COUNT is defined)

2) in esp-idf
/esp-idf/components/soc/soc/esp32/include/soc/soc ...
by tiritomba
Thu Dec 10, 2020 6:41 pm
Forum: ESP32 Arduino
Topic: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope
Replies: 11
Views: 15243

Re: Using arduino-esp32 as a component: 'SOC_GPIO_PIN_COUNT' was not declared in this scope

Hello!

I'm using Ubuntu and fighting with the exact same issue since a few days. Trying out several different combinations of branches for esp-idf and arduino-esp32. Currently it's the both on version 4.2 (release/v4.2, idf-release/v4.2) and the build results in:


In file included from ...

Go to advanced search