Xinyuan-LilyGO / LilyGo-EPD47

GNU General Public License v3.0
379 stars 119 forks source link

platformio requires changes to the examples #108

Open nickolay opened 6 months ago

nickolay commented 6 months ago

First:

LilyGo-EPD47/examples/button$ pio run --list-targets
InvalidEnvNameError: Invalid environment name 't5-4.7'. The name can contain alphanumeric, underscore, and hyphen characters (a-z, 0-9, -, _)

This is due to https://github.com/platformio/platformio-core/commit/269d5e0a3ea5823a5dc7eeff9902cb7062017430

Second (you need to prune ~/.platformio to see this): UnknownPackageError: Could not find the package with 'espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3' requirements for your system 'darwin_x86_64'

This is probably caused by pinning an old arduino-esp32 version https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/blob/f6a4fabbfba39f29fcc166d1b8a87c342a379b99/examples/button/platformio.ini#L20

This was reported to me in https://github.com/nickolay/esphome-lilygo-t547plus/pull/6