Closed themacboy closed 6 months ago
https://github.com/suchmememanyskill/CYD-Klipper/actions/runs/8070991249
Can you try this build? Grab the merged-firmware .bin from the github actions artifact firmware zip, install esptool and run esptool write_flash 0x0 merged-firmware.bin
Not lucky. After pressing enter the screen turn full black and not connect.
hemacboy@themacboy-HP:~$ esptool write_flash 0x0 /home/themacboy/Escriptori/esp32-8048S043C-smartdisplay/merged_firmware.bin
esptool.py v2.8
Found 2 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type...
/dev/ttyUSB0 failed to connect: Unexpected UART datecode value 0x03700000. Failed to autodetect chip type.
Serial port /dev/ttyS0
Connecting........_____....._____....._____....._____....._____....._____....._____
/dev/ttyS0 failed to connect: Failed to connect to Espressif device: Timed out waiting for packet header
A fatal error occurred: Could not connect to an Espressif device on any of the 2 available serial ports.
You are holding down the boot button when it's attempting to connect, right?
Otherwise you can try to upload from visual studio code + the platformio plugin, but that's a lot trickier to set up
Yes I tryed pressing and not pressing boot button ;)
Otherwise you can try to upload from visual studio code + the platformio plugin, but that's a lot trickier to set up
ummm will read how to do that. Thx
Actually, isn't /dev/ttyS0 hardware uart/serial?
You may want to hard specify which usb port it should use for communication. I also sadly have never flashed these on a unix based system, so i don't know how to identify which port is connected to the screen
This is from platformio. Screen is connected as /dev/ttyUSB0
I will try to lear how to compile in platformio
It's not too difficult. Go to this url: https://github.com/suchmememanyskill/CYD-Klipper/tree/4.3inch
Yes, I am successful in building and uploading. But on the reboot screen it turns white and nothing else hehehe we've made another step forward
Curiously ... Im monitoring activity on board from platformio and looks like there is any activity on the background hehehe
Building log (looks very correct to me):
Processing esp32-8048S043C-smartdisplay (board: esp32-8048S043C-smartdisplay; platform: espressif32; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Library Manager: Installing git+https://github.com/suchmememanyskill/esp32-smartdisplay
git version 2.43.0
S'està clonant a «/home/themacboy/.platformio/.cache/tmp/pkg-installing-84hrw3lq»...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 54 (delta 12), reused 24 (delta 4), pack-reused 0
S'estan rebent objectes: 100% (54/54), 1.74 MiB | 6.68 MiB/s, fet.
S'estan resolent les diferències: 100% (12/12), fet.
S'ha registrat el submòdul «boards» (https://github.com/rzeldent/platformio-espressif32-sunton.git) per al camí «boards»
S'està clonant a «/home/themacboy/.platformio/.cache/tmp/pkg-installing-84hrw3lq/boards»...
remote: Enumerating objects: 682, done.
remote: Counting objects: 100% (446/446), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 682 (delta 416), reused 311 (delta 300), pack-reused 236
S'estan rebent objectes: 100% (682/682), 51.06 MiB | 5.48 MiB/s, fet.
S'estan resolent les diferències: 100% (467/467), fet.
Camí de submòdul «boards»: s'ha agafat «4aa429fdefeda907a9e3e8d9b0f4a22feda4d152»
Library Manager: esp32_smartdisplay@2.0.5+sha.4e689b5 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing lvgl/lvgl @ ^8.3.9
Unpacking [####################################] 100%
Library Manager: lvgl@8.3.11 has been installed!
Library Manager: Installing bblanchon/ArduinoJson @ ^7.0.0
Unpacking [####################################] 100%
Library Manager: ArduinoJson@7.0.3 has been installed!
Library Manager: Installing plageoj/UrlEncode @ ^1.0.1
Unpacking [####################################] 100%
Library Manager: UrlEncode@1.0.1 has been installed!
Verbose mode can be enabled via `-v, --verbose` option
fatal: no és un repositori de git (ni cap pare fins al punt de muntatge /)
S'atura a la frontera de sistema de fitxers (GIT_DISCOVERY_ACROSS_FILESYSTEM no està establert).
Version: Unknown
Flag: -D REPO_VERSION=\"Unknown\"
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-8048S043C-smartdisplay.html
PLATFORM: Espressif 32 (6.5.0) > esp32-8048S043C
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20014.231204 (2.0.14)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 37 compatible libraries
Scanning dependencies...
Dependency Graph
|-- esp32_smartdisplay @ 2.0.5+sha.4e689b5
|-- ArduinoJson @ 7.0.3
|-- UrlEncode @ 1.0.1
|-- lvgl @ 8.3.11
|-- Preferences @ 2.0.0
|-- HTTPClient @ 2.0.0
|-- SPI @ 2.0.0
|-- WiFi @ 2.0.0
|-- Update @ 2.0.0
Building in release mode
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/conf/global_config.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/core/data_setup.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/core/device/ESP32-2432S028R.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/core/device/ESP32-3248S035C.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/core/device/ESP32-smartdisplay.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/core/files_query.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/core/lv_setup.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/core/macros_query.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/main.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/ip_setup.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/main_ui.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/nav_buttons.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/ota_setup.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/panels/macros_panel.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/panels/move_panel.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/panels/print_panel.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/panels/progress_panel.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/panels/settings_panel.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/panels/stats_panel.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/panels/temp_panel.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/ui_utils.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/src/ui/wifi_setup.cpp.o
Building .pio/build/esp32-8048S043C-smartdisplay/bootloader.bin
Generating partitions .pio/build/esp32-8048S043C-smartdisplay/partitions.bin
esptool.py v4.5.1
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_disp.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_event.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_group.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_indev.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_indev_scroll.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj_class.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj_draw.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj_pos.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj_scroll.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj_style.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj_style_gen.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_obj_tree.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_refr.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/core/lv_theme.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/arm2d/lv_gpu_arm2d.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_arc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_img.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_label.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_layer.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_line.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_mask.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_rect.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_transform.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_draw_triangle.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_img_buf.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_img_cache.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/lv_img_decoder.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/pxp/lv_draw_pxp.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/pxp/lv_draw_pxp_blend.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/pxp/lv_gpu_nxp_pxp.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/pxp/lv_gpu_nxp_pxp_osa.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/vglite/lv_draw_vglite.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/vglite/lv_draw_vglite_arc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/vglite/lv_draw_vglite_blend.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/vglite/lv_draw_vglite_line.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/vglite/lv_draw_vglite_rect.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/vglite/lv_vglite_buf.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/nxp/vglite/lv_vglite_utils.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/renesas/lv_gpu_d2_draw_label.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/renesas/lv_gpu_d2_ra6m3.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_arc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_bg.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_composite.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_img.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_label.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_layer.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_line.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_mask.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_polygon.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_rect.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_stack_blur.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_texture_cache.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sdl/lv_draw_sdl_utils.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/stm32_dma2d/lv_gpu_stm32_dma2d.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_arc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_blend.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_dither.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_gradient.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_img.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_layer.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_letter.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_line.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_polygon.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_rect.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/sw/lv_draw_sw_transform.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/draw/swm341_dma2d/lv_gpu_swm341_dma2d.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/layouts/flex/lv_flex.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/layouts/grid/lv_grid.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/bmp/lv_bmp.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/ffmpeg/lv_ffmpeg.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/freetype/lv_freetype.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/fsdrv/lv_fs_fatfs.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/fsdrv/lv_fs_littlefs.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/fsdrv/lv_fs_posix.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/fsdrv/lv_fs_stdio.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/fsdrv/lv_fs_win32.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/gif/gifdec.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/gif/lv_gif.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/png/lodepng.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/png/lv_png.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/qrcode/lv_qrcode.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/qrcode/qrcodegen.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/rlottie/lv_rlottie.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/sjpg/lv_sjpg.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/sjpg/tjpgd.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/libs/tiny_ttf/lv_tiny_ttf.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/lv_extra.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/fragment/lv_fragment.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/fragment/lv_fragment_manager.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/gridnav/lv_gridnav.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/ime/lv_ime_pinyin.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/imgfont/lv_imgfont.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/monkey/lv_monkey.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/msg/lv_msg.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/others/snapshot/lv_snapshot.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/themes/basic/lv_theme_basic.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/themes/default/lv_theme_default.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/themes/mono/lv_theme_mono.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/animimg/lv_animimg.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/calendar/lv_calendar.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/calendar/lv_calendar_header_arrow.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/calendar/lv_calendar_header_dropdown.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/chart/lv_chart.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/colorwheel/lv_colorwheel.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/imgbtn/lv_imgbtn.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/keyboard/lv_keyboard.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/led/lv_led.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/list/lv_list.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/menu/lv_menu.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/meter/lv_meter.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/msgbox/lv_msgbox.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/span/lv_span.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/spinbox/lv_spinbox.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/spinner/lv_spinner.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/tabview/lv_tabview.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/tileview/lv_tileview.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/extra/widgets/win/lv_win.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_dejavu_16_persian_hebrew.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_fmt_txt.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_loader.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_10.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_12.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_12_subpx.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_14.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_16.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_18.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_20.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_22.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_24.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_26.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_28.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_28_compressed.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_30.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_32.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_34.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_36.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_38.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_40.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_42.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_44.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_46.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_48.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_montserrat_8.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_simsun_16_cjk.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_unscii_16.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/font/lv_font_unscii_8.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/hal/lv_hal_disp.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/hal/lv_hal_indev.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/hal/lv_hal_tick.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_anim.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_anim_timeline.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_area.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_async.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_bidi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_color.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_fs.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_gc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_ll.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_log.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_lru.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_math.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_mem.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_printf.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_style.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_style_gen.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_templ.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_timer.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_tlsf.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_txt.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_txt_ap.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/misc/lv_utils.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_arc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_bar.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_btn.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_btnmatrix.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_canvas.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_checkbox.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_dropdown.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_img.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_label.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_line.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_objx_templ.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_roller.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_slider.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_switch.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_table.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib44d/lvgl/widgets/lv_textarea.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp32_smartdisplay.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_io_expander.c.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/lib44d/liblvgl.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_gc9a01.c.o
Indexing .pio/build/esp32-8048S043C-smartdisplay/lib44d/liblvgl.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_ili9341.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_panel_io_3wire_spi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_st7701.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_st7796.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_touch.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_touch_cst816s.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_touch_gt911.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/esp_lcd_touch_xpt2046.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_cst816s_i2c.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_gc9a01_spi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_gt911_i2c.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_ili9341_spi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_st7262_par.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_st7701_par.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_st7789_i80.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_st7789_spi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_st7796_spi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib00d/esp32_smartdisplay/lvgl_xpt2046_spi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib158/UrlEncode/UrlEncode.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/lib00d/libesp32_smartdisplay.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/lib00d/libesp32_smartdisplay.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib0c6/Preferences/Preferences.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFi.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/lib158/libUrlEncode.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/lib158/libUrlEncode.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiAP.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiClient.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/lib0c6/libPreferences.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/lib0c6/libPreferences.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiGeneric.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiMulti.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiSTA.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiScan.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiServer.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libaf0/WiFi/WiFiUdp.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib8d0/WiFiClientSecure/WiFiClientSecure.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/libaf0/libWiFi.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib8d0/WiFiClientSecure/esp_crt_bundle.c.o
Indexing .pio/build/esp32-8048S043C-smartdisplay/libaf0/libWiFi.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib8d0/WiFiClientSecure/ssl_client.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib9ca/HTTPClient/HTTPClient.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/libefc/SPI/SPI.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib8bb/Update/HttpsOTAUpdate.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/lib8d0/libWiFiClientSecure.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/lib8d0/libWiFiClientSecure.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/lib8bb/Update/Updater.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/libefc/libSPI.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/libefc/libSPI.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/Esp.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/FirmwareMSC.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/lib8bb/libUpdate.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/lib8bb/libUpdate.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/HWCDC.cpp.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/lib9ca/libHTTPClient.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/lib9ca/libHTTPClient.a
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/IPAddress.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/IPv6Address.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/MD5Builder.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/Print.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/Stream.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/StreamString.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/Tone.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/USB.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/USBCDC.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/USBMSC.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/WMath.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/WString.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/base64.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/cbuf.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-adc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-bt.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-gpio.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-i2c-slave.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-i2c.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-ledc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-matrix.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-misc.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-psram.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-rgb-led.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-rmt.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-spi.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-time.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-timer.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-tinyusb.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-touch.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/esp32-hal-uart.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/firmware_msc_fat.c.o
/home/themacboy/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c: In function 'uartSetPins':
/home/themacboy/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c:153:9: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
/home/themacboy/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c:149:6: note: declared here
bool uartSetPins(uint8_t uart_num, int8_t rxPin, int8_t txPin, int8_t ctsPin, int8_t rtsPin)
^~~~~~~~~~~
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/libb64/cdecode.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/libb64/cencode.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/main.cpp.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/stdlib_noniso.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/wiring_pulse.c.o
Compiling .pio/build/esp32-8048S043C-smartdisplay/FrameworkArduino/wiring_shift.c.o
Archiving .pio/build/esp32-8048S043C-smartdisplay/libFrameworkArduino.a
Indexing .pio/build/esp32-8048S043C-smartdisplay/libFrameworkArduino.a
Linking .pio/build/esp32-8048S043C-smartdisplay/firmware.elf
Retrieving maximum program size .pio/build/esp32-8048S043C-smartdisplay/firmware.elf
Checking size .pio/build/esp32-8048S043C-smartdisplay/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [=== ] 25.2% (used 82688 bytes from 327680 bytes)
Flash: [== ] 17.3% (used 1132301 bytes from 6553600 bytes)
Building .pio/build/esp32-8048S043C-smartdisplay/firmware.bin
esptool.py v4.5.1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
=================================================================================================================== [SUCCESS] Took 149.74 seconds ===================================================================================================================
Environment Status Duration
---------------------------- -------- ------------
esp32-8048S043C-smartdisplay SUCCESS 00:02:29.744
==================================================================================================================== 1 succeeded in 00:02:29.744 ====================================================================================================================
* Terminal will be reused by tasks, press any key to close it.
Might be an issue with the smartdisplay driver or my implementation then. Can you try to compile https://github.com/rzeldent/esp32-smartdisplay-demo ?
You may have to download this repository via the commandline: git clone --recursive https://github.com/rzeldent/esp32-smartdisplay-demo
Im tryed, but getting compile errors:
https://github.com/rzeldent/esp32-smartdisplay-demo/issues/25
After some learning and dificulties I build the demo, but get same problem:
White screen
No error on monitor.
Hello ! Good and bad news lol
After a lot of reading, I found a thread that seems to solve the problem:
https://github.com/rzeldent/esp32-smartdisplay-demo/issues/21
For now I have edited the file esp32-8048S043C.json:
ST7262_PANEL_CONFIG_TIMINS_PCLK_HZ=(12.5 *1000000)
And now I can see the Wi-Fi screen selector (it's cool ;).
But the screen flips to portrait and the touch screen doesn't work.
Another question, is there a reason why you don't use rzeldent and lgvl original source? They seems more up to date, and they change very frequently hehehe
I'm not really sure what I'm doing (I'm not good at C, lgvl and other coding hehehe), but I'll lay out my tests.
env]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
#https://github.com/suchmememanyskill/esp32-smartdisplay
https://github.com/rzeldent/esp32-smartdisplay
bblanchon/ArduinoJson@^7.0.0
plageoj/UrlEncode@^1.0.1
monitor_filters = esp32_exception_decoder
build_flags =
-DLV_CONF_PATH="../../../../src/conf/lv_conf.h"
extra_scripts =
pre:extract_commit.py
RESULT: Worked the same. Image is portraid and touch screen is not working.
I used the one from the thread referenced above and put in your custom variables/parameters (not sure what it's called in C)
{
"build": {
"arduino": {
"ldscript": "esp32s3_out.ld",
"partitions": "default_16MB.csv",
"memory_type": "qio_opi"
},
"core": "esp32",
"extra_flags": [
"'-D ARDUINO_ESP32S3_DEV'",
"'-D BOARD_HAS_PSRAM'",
"'-D ARDUINO_USB_MODE=1'",
"'-D ARDUINO_RUNNING_CORE=1'",
"'-D ARDUINO_EVENT_RUNNING_CORE=1'",
"'-D ARDUINO_USB_CDC_ON_BOOT=0'",
"'-D ESP32_8048S043C'",
"'-D LCD_WIDTH=800'",
"'-D LCD_HEIGHT=480'",
"'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'",
"'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'",
"'-D GPIO_BCKL=2'",
"'-D LCD_ST7262_PAR'",
"'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(12.5*1000000)'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_BACK_PORCH=8'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_FRONT_PORCH=8'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_PULSE_WIDTH=4'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_BACK_PORCH=8'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_FRONT_PORCH=8'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_HSYNC_IDLE_LOW=false'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_VSYNC_IDLE_LOW=false'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_DE_IDLE_HIGH=false'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'",
"'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'",
"'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'",
"'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'",
"'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'",
"'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'",
"'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'",
"'-D ST7262_PANEL_CONFIG_DE_GPIO_NUM=40'",
"'-D ST7262_PANEL_CONFIG_PCLK_GPIO_NUM=42'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_R0=8'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_R1=3'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_R2=46'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_R3=9'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_R4=1'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_G0=5'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_G1=6'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_G2=7'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_G3=15'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_G4=16'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_G5=4'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_B0=45'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_B1=48'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_B2=47'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_B3=21'",
"'-D ST7262_PANEL_CONFIG_DATA_GPIO_B4=14'",
"'-D ST7262_PANEL_CONFIG_DISP_GPIO_NUM=GPIO_NUM_NC'",
"'-D ST7262_PANEL_CONFIG_FLAGS_DISP_ACTIVE_LOW=false'",
"'-D ST7262_PANEL_CONFIG_FLAGS_RELAX_ON_IDLE=false'",
"'-D ST7262_PANEL_CONFIG_FLAGS_FB_IN_PSRAM=true'",
"'-D BOARD_HAS_TOUCH'",
"'-D TOUCH_GT911_I2C'",
"'-D GT911_I2C_HOST=I2C_NUM_0'",
"'-D GT911_I2C_CONFIG_SDA_IO_NUM=19'",
"'-D GT911_I2C_CONFIG_SCL_IO_NUM=20'",
"'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'",
"'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'",
"'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'",
"'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'",
"'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'",
"'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'",
"'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'",
"'-D GT911_IO_I2C_CONFIG_LCD_CMD_BITS=16'",
"'-D GT911_IO_I2C_CONFIG_LCD_PARAM_BITS=0'",
"'-D GT911_IO_I2C_CONFIG_FLAGS_DC_LOW_ON_DATA=false'",
"'-D GT911_IO_I2C_CONFIG_FLAGS_DISABLE_CONTROL_PHASE=true'",
"'-D GT911_TOUCH_CONFIG_X_MAX=LCD_WIDTH'",
"'-D GT911_TOUCH_CONFIG_Y_MAX=LCD_HEIGHT'",
"'-D GT911_TOUCH_CONFIG_RST_GPIO_NUM=38'",
"'-D GT911_TOUCH_CONFIG_INT_GPIO_NUM=18'",
"'-D GT911_TOUCH_CONFIG_LEVELS_RESET=0'",
"'-D GT911_TOUCH_CONFIG_LEVELS_INTERRUPT=0'",
"'-D TOUCH_SWAP_XY=false'",
"'-D TOUCH_SWAP_X=false'",
"'-D TOUCH_SWAP_Y=false'",
"'-D BOARD_HAS_TF'",
"'-D TF_CS=10'",
"'-D TF_SPI_MOSI=11'",
"'-D TF_SPI_SCLK=12'",
"'-D TF_SPI_MISO=13'",
"-DCYD_SCREEN_GAP_PX=10",
"-DCYD_SCREEN_MIN_BUTTON_HEIGHT_PX=40",
"-DCYD_SCREEN_MIN_BUTTON_WIDTH_PX=40",
"-DCYD_SCREEN_FONT=lv_font_montserrat_22",
"-DCYD_SCREEN_FONT_SMALL=lv_font_montserrat_16",
"-DCYD_SCREEN_SIDEBAR_SIZE_PX=50",
"-DCYD_SCREEN_DRIVER_ESP32_SMARTDISPLAY=1",
"-DCYD_SCREEN_DISABLE_TOUCH_CALIBRATION=1",
"-DCYD_SCREEN_DISABLE_INVERT_COLORS=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [
[
"0x303A",
"0x1001"
]
],
"mcu": "esp32s3",
"variant": "esp32s3"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32s3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"name": "esp32-8048S043C",
"upload": {
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 16777216,
"use_1200bps_touch": true,
"wait_for_upload_port": true,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.aliexpress.com/item/1005006110360174.html",
"vendor": "Sunton"
}
RESULT: Worked the same. Image is portraid and touch screen is not working.
Trying to figure how to console log the touch inputs, to be sure that touch screen is activated or not. In the previous demo you posted it works great.
I'll be watching this. Same display.
ummm Noticed that touch screen is really working.
After screen turns to sleep mode, If i touch the screen then it wake up.
Then not sure why touch screen is not working to select a network.
I just re-read the config. All other CYD screens are vertical screens, but this one is actually horizontal. That means i have misconfigured it. Will push out an update later today with your findings too to correct for this
@themacboy just pushed a new build to the 4.3inch branch. Please try to compile and run via platformio
Working great now! I review all the code you made! Really fast!
Your effort is greatly appreciated!!!
Now I'm trying some visual tweaks like a bigger sidebar, icons and font size.
In the meantime I'm doing tests and I'll report the results.
Thank you so much!
(I'll try to learn some C coding and see if I'm able to help...a little)
@themacboy Sick!
Can you post a screenshot of the screen so i can try to make those ajustments for you?
If you want to try yourself, these are the values you need to edit in the boards/.json file
"-DCYD_SCREEN_GAP_PX=10",
"-DCYD_SCREEN_MIN_BUTTON_HEIGHT_PX=40",
"-DCYD_SCREEN_MIN_BUTTON_WIDTH_PX=40",
"-DCYD_SCREEN_FONT=lv_font_montserrat_16",
"-DCYD_SCREEN_FONT_SMALL=lv_font_montserrat_12",
"-DCYD_SCREEN_SIDEBAR_SIZE_PX=50",
To support different font sizes, enable them in src/conf/lv_conf.h
/*==================
* FONT USAGE
*===================*/
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
*https://fonts.google.com/specimen/Montserrat*/
#define LV_FONT_MONTSERRAT_8 0
#define LV_FONT_MONTSERRAT_10 1
#define LV_FONT_MONTSERRAT_12 1
#define LV_FONT_MONTSERRAT_14 1
#define LV_FONT_MONTSERRAT_16 1
#define LV_FONT_MONTSERRAT_18 0
#define LV_FONT_MONTSERRAT_20 0
#define LV_FONT_MONTSERRAT_22 0
#define LV_FONT_MONTSERRAT_24 0
#define LV_FONT_MONTSERRAT_26 0
#define LV_FONT_MONTSERRAT_28 1
#define LV_FONT_MONTSERRAT_30 0
#define LV_FONT_MONTSERRAT_32 0
#define LV_FONT_MONTSERRAT_34 0
#define LV_FONT_MONTSERRAT_36 0
#define LV_FONT_MONTSERRAT_38 0
#define LV_FONT_MONTSERRAT_40 0
#define LV_FONT_MONTSERRAT_42 0
#define LV_FONT_MONTSERRAT_44 0
#define LV_FONT_MONTSERRAT_46 0
#define LV_FONT_MONTSERRAT_48 0
If you found a nice combination, please show a screenshot and the accompanying configuration
Oh ! Yes I noticed it before and just make a PR with changes.
Thank you! Please do make sure to make a pull request to the 4.3inch branch, so i can merge it into dev when ready
@GAZ082 check the last PR
Btw I made a case for the ESP32-8048S043C:
Good morning,
I made a mistake and purchased a 4.3inch ESP32-8048S043 screen.
This is a capacitative IPS RGB screen with 800*480 pixels and 8m PSRAm and 16M Flash memory.
It is possible to uset with your code?