Description
Hardware:
Board: ESP32 Dev Module
Core Installation version: 2,0,0
IDE name: Arduino IDE 1.8.15
Flash Frequency: 80MHz
PSRAM enabled: no
Upload Speed: 115200?
Computer OS: Windows 10
Description:
When replacing Arduino 2.0.0 with latest Master, I got an error.
Steps to reproduce:
a) Install Arduino ESP32 Board with V2.0.0
b) Clone Arduino github on a separated directory
c) Copy contents from GitHub cloned folder /tools/sdk/esp32/* to PC Arduino IDE folder Arduino15/packages/esp32/hardware/esp32/2.0.0/tools/sdk/esp32/
d) At this point the IDF sdk is now updated to the latest github master branch. All set to build an application.
e) Compile any sketch and get an error message as in Debug Messages below:
Sketch:
//Any sketch, even an empty sketch such as
#include <Arduino.h>
void setup() {
}
void loop() {
}
Debug Messages:
In file included from C:\Users\rocor\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0/tools/sdk/esp32/include/freertos/include/freertos/FreeRTOS.h:57,
from C:\Users\rocor\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0\cores\esp32/Arduino.h:33,
from C:\Users\rocor\AppData\Local\Temp\arduino_build_735887\sketch\Blink.ino.cpp:1:
C:\Users\rocor\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0/tools/sdk/esp32/include/freertos/include/freertos/FreeRTOSConfig.h:78:2: error: #error "Needs architecture-speific FreeRTOSConfig.h!"
#error "Needs architecture-speific FreeRTOSConfig.h!"
^~~~~
In file included from C:\Users\rocor\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0\cores\esp32/Arduino.h:34,
from C:\Users\rocor\AppData\Local\Temp\arduino_build_735887\sketch\Blink.ino.cpp:1:
C:\Users\rocor\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0/tools/sdk/esp32/include/freertos/include/freertos/task.h:3454:10: fatal error: freertos/task_snapshot.h: No such file or directory
#include "freertos/task_snapshot.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board ESP32 Dev Module.