Since the latest arduino-esp32 has been release to 2.x should the latest version work to build with
framework = arduino, espif? When I look in the examples, they require
platform_packages = ; use a special branch framework-arduinoespressif32 @ https://github.com/marcovannoord/arduino-esp32.git#idf-release/v4.0
The examples build ok, but they are based upon appx 3 year old branch that doesn’t contain latest arduino-esp32 updates. Whenever I try it with the latest branch, I get
fatal error: Arduino.h: No such file or directory. Should the latest arduino-esp32 branch work now without having to use this “special branch”? How can I get this working with a modern release of arduino-esp32 and ESP-IDF?