I've done a clean install of esp-idf, branch "release/v4.2", and then installed arduino-esp32 for use as component as described at https://github.com/espressif/arduino-es ... mponent.md, again specifying branch "idf-release/v4.2". This after getting the same error discussed at viewtopic.php?f=13&t=18037&p=67353&hili ... UNT#p67353 and thinking I might have a version mismatch between esp-ifd and arduino-esp32.
However, I now get the error:
Code: Select all
In file included from ../components/arduino/cores/esp32/esp32-hal.h:74,
from ../components/arduino/cores/esp32/Arduino.h:36,
from ../components/arduino/cores/esp32/base64.cpp:25:
../components/arduino/cores/esp32/esp32-hal-gpio.h:78:44: error: 'SOC_GPIO_PIN_COUNT' was not declared in this scope
extern const esp32_gpioMux_t esp32_gpioMux[SOC_GPIO_PIN_COUNT];
^~~~~~~~~~~~~~~~~~
../components/arduino/cores/esp32/esp32-hal-gpio.h:78:44: note: suggested alternative: 'GPIO_PIN_COUNT'
What am I doing wrong, and how do I fix it?