UEDX46460015-MD50ESP32-1.5inch-Touch-Knob-Display

Hi all,

I am building the package of the captioned product, the platformio.ini is below:

[env:ESP-LCD]
platform = espressif32
board = ESP-LCD
framework = arduino
platform_packages =
  platformio/framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#3.1.1
upload_speed = 921600
monitor_speed = 115200
build_flags =
  -DBOARD_HAS_PSRAM
  -DLV_CONF_INCLUDE_SIMPLE
   -D LV_CONF_PATH="${PROJECT_DIR}/lib/lv_conf.h"
  -DDISABLE_ALL_LIBRARY_WARNINGS
   -DARDUINO_USB_CDC_ON_BOOT=1
  -DCORE_DEBUG_LEVEL=1
  -DLV_LVGL_H_INCLUDE_SIMPLE
  -I src
  -I lib
lib_deps =
  https://github.com/lvgl/lvgl.git#release/v8.4

But when I build it, I have this error:

UnknownPackageError: Could not find the package with ‘espressif/toolchain-riscv32-esp @ 13.2.0+20240530’ requirements for your system ‘windows_amd64’

I really don’t know how to resolve it. Is there any one know how to resolve this problem?

Thanks so much!!

Danny

No. You cannot include the Arduino-ESP32 3.1.1 core that way. You’re missing half the infrastructure in the platform for that.

Go through platform = .. and use the pioarduino project (https://github.com/pioarduino/platform-espressif32) to get support for later Arduino-ESP32 cores.

E.g.

platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.11/platform-espressif32.zip

then delete the platform_packages instructions.

Hi,

The problem is solved!

Thank you!

Danny

1 Like