An automated build started to fail after LovyanGFX latest version was raised (0.4.3 => 0.4.4).
Apparently platformio would download two different versions of the LovyanGFX library and throw duplicate declaration errors at compilation. This didn't happen before because the version in plaformio.ini was equal to the latest version on the repository.
One version of LovyanGFX is a dependency of ESP32-Chimera-Core which comes with a library.json file where the version of LovyanGFX is unspecified (was resolving as <0.4.4>).
The other version is hardcoded in the platformio.ini as <0.4.3>, that's the one we want because we know it's working with this project along with other specific library versions.
Changing the library order in lib_deps fixed it, platformio is now resolving LovyanGFX to a single version as expected.
An automated build started to fail after LovyanGFX latest version was raised (0.4.3 => 0.4.4).
Apparently platformio would download two different versions of the LovyanGFX library and throw duplicate declaration errors at compilation. This didn't happen before because the version in plaformio.ini was equal to the latest version on the repository.
library.json
file where the version of LovyanGFX is unspecified (was resolving as <0.4.4>).Changing the library order in
lib_deps
fixed it, platformio is now resolving LovyanGFX to a single version as expected.