Without this nice formatting of the error, `idf.py build` returns a cryptic error (`__component_get_property Function invoked with incorrect arguments`).
This pull requests adds a menuconfig option named `ESP32_HUB75_USE_GFX` which is used to determine if the Adafruit GFX component should be required and used for the build. menuconfig options are the standard way to change behavior of components in `esp-idf`.
[Commit b8367d9](b8367d95d2) introduced a backwards incompatible change that caused `idf-idf` to only require the Adafruit-GFX-Library component if `ARDUINO_ARCH_ESP32` was set. `ARDUINO_ARCH_ESP32` is set in platformIO, the arduino software but not in the standalone `esp-idf` installation.
The current `CMakeLists.txt` requires a file named `src/platforms/${target}/gdma_lcd_parallel16.cpp` however that file only exists when the target is `esp32s3`.
This pull requests updates the `CMakeLists.txt` file such that the file is only included when the target platform is `esp32s3`.