Display LC3248W535 not working with platformio.
I works fine with the arduinino ide but I can’t get it to work with a simple hello test, it reboots. the KI GROK helped me a lot but this suck. I spend a whole day with no success. ESP32 S3 3.5 inch LCD Development Board 480x320 Display Capacitive TouchScreen Tablet /MP3 /Video /Clock LVGL For Arduino argues they don’t support PlatformIO. Any clue I found this on github but this don’t compile ; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; Redirecting...
[env:JC3248W535EN]
##platform = espressif32
board = JC3248W535EN
framework = arduino
monitor_speed = 115200
monitor_port = COM12
upload_port = COM12
lib_deps =
lvgl/lvgl@8.3.9
platform_packages =
platformio/framework-arduinoespressif32@GitHub - espressif/arduino-esp32: Arduino core for the ESP32
platformio/framework-arduinoespressif32-libs@GitHub - espressif/esp32-arduino-libs: Holding precompiled ESP-IDF libraries for ESP32 Arduino v3.x and above
lib_extra_dirs =
libraries
Wut??
Which Espressif32 Arduino version do you use in the ArduinoIDE and which one do you use in Platform?
[quote=“sivar2311, post:2, topic:47590”]
Espressif32 Arduino v
[/quote]PS C:\Users\ats37> arduino-cli core list
ID Installiert Neueste Name
arduino:avr 1.8.6 1.8.6 Arduino AVR Boards
esp32:esp32 3.3.0-alpha1 3.3.0-alpha1 esp32
esp8266:esp8266 3.1.2 3.1.2 esp8266
PS D:__Dokus\Documents\PlatformIO\JC3248W535\JC3248W535_display_test-main> esptool.py --chip esp32s3 --port /dev/ttyUSB0 --baud 115200 write_flash 0x0 firmware.bin
esptool.py: The term ‘esptool.py’ is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS D:__Dokus\Documents\PlatformIO\JC3248W535\JC3248W535_display_test-main> pio pkg list
Resolving esp32-s3-n16r8v dependencies…
Platform espressif32 @ 6.11.0 (required: espressif32)
├── framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b (required: platformio/framework-arduinoespressif32 @ ~3.20017.0)
├── tool-esptoolpy @ 1.40501.0 (required: platformio/tool-esptoolpy @ ~1.40501.0)
├── tool-mkfatfs @ 2.0.1 (required: platformio/tool-mkfatfs @ ~2.0.0)
├── tool-mklittlefs @ 1.203.210628 (required: platformio/tool-mklittlefs @ ~1.203.0)
├── tool-mkspiffs @ 2.230.0 (required: platformio/tool-mkspiffs @ ~2.230.0)
├── toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch5)
└── toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5 (required: espressif/toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5)
Libraries
└── GFX Library for Arduino @ 1.6.0 (required: moononournation/GFX Library for Arduino @ ^1.5.0)
PS D:__Dokus\Documents\PlatformIO\JC3248W535\JC3248W535_display_test-main> Arduino CLI i
Your Espressif32 Arduino Versions are
PlatformIO |
ArduinoIDE |
2.0.17 |
3.3.0-alpha1 |
To bring Espressif Arduino 3.3.0-alpha1 to PlatformIO you have to use pioarduino:
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.30-alpha1/platform-espressif32.zip
and remove the platform_packages
!