adafruit / Adafruit-GFX-Library

Adafruit GFX graphics core Arduino library, this is the 'core' class that all our other graphics libraries derive from
https://learn.adafruit.com/adafruit-gfx-graphics-library
Other
2.41k stars 1.55k forks source link

Fixing PlatformIO dependency problem #389

Closed alba-ado closed 2 years ago

alba-ado commented 2 years ago

388

Fixing the PlatformIO dependency problem mentioned in; https://community.platformio.org/t/adafruit-gfx-lib-will-not-build-any-more-pio-5/15776/12

I fixed this by including the device headers in the Adafruit_GFX.h file, but it could be a braking change for users that doesn't use those libraries in their code. So they might have to download the BusIO library as well.

Please review with caution, I don't know how this change could effect others. Thanks in advance.

ladyada commented 2 years ago

this doesnt affect arduino because busio is already a dependancy (this is a bug in platformio, it should install anything in https://github.com/adafruit/Adafruit-GFX-Library/blob/master/library.properties )