loboris / ESP32_TFT_library

Full featured TFT library for ESP32 with demo application
564 stars 219 forks source link

disp_images() shows no images #11

Closed ataweg closed 6 years ago

ataweg commented 6 years ago

Since after the fix for issue# 10 I had still no image. So I built and flashed an new image file with "make flashfs". The download to th target failed with:

I (93) boot: End of partition table
I (97) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0bb10 ( 47888) map
I (113) esp_image: segment 1: paddr=0x0001bb38 vaddr=0x3ffb0000 size=0x044d8 ( 17624) load
I (118) esp_image: segment 2: paddr=0x00020018 vaddr=0x400d0018 size=0x1f7d8 (128984) map
E (142) esp_image: invalid segment length 0x6662696c
E (143) boot: Factory app partition is not bootable
E (143) boot: No bootable app partitions in the partition table
user code done

I have fixed it in main \ Kconfig.projbuild where I changed the values to hex values there.

menu "TFT Display DEMO Configuration"

config SPIFFS_BASE_ADDR
    hex "SPIFFS Base address"
    range 0x100000 0x1FFE000
    default 0x180000
    help
    Starting address of the SPIFFS area in ESP32 Flash
loboris commented 6 years ago

Fixed in the latest commit.