As title.
Can you explain me the difference between the PlatofrmIO ESP32 core and the Arduino ESP32 core?
Are they similar?
Do they share the same source code?
Thanks
As title.
Can you explain me the difference between the PlatofrmIO ESP32 core and the Arduino ESP32 core?
Are they similar?
Do they share the same source code?
Thanks
Read through the “packages” section here to get a general understanding of PlatformIO’s package system.
PlatformIO just copies the released versions of the core and publishes them in their registry. The build output shows you the used packages and their version, e.g.
PACKAGES:
- framework-arduinoespressif32 3.10006.210326 (1.0.6)
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-openocd-esp32 2.1000.20210401 (10.0)
- toolchain-xtensa32 2.50200.97 (5.2.0)
So the core is of version 1.0.6 (latest stable) and thus https://github.com/espressif/arduino-esp32/tree/1.0.6.
Pre-release versions like 2.0.0-rc1 or 2.0.0-alpha1 are not available in the standard PlatformIO repositories, since PlatformIO does not support officially support beta-software. There are still ways to use these core versions anyway, see e.g. here or here.