Bodmer / TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips
Other
3.83k stars 1.1k forks source link

TFT_eSPI can't be compiled correctly on ESP32-C6, it prompts a lot of errors and will restart repeatedly, what version can support C6? #3433

Open 43823845 opened 4 months ago

43823845 commented 4 months ago

ESP-ROM:esp32c6-20220919 Build:Sep 19 2022 rst:0xc (SW_CPU),boot:0x4d (SPI_FAST_FLASH_BOOT) Saved PC:0x4001975a SPIWP:0xee mode:DIO, clock div:2 load:0x4086c410,len:0xc64 load:0x4086e610,len:0x2758 load:0x40875728,len:0x594 entry 0x4086c410

Hello Arduino! V9.1.0 Guru Meditation Error: Core 0 panic'ed (Store access fault). Exception was unhandled.

Core 0 register dump: MEPC : 0x4202bf52 RA : 0x4202bf4a SP : 0x4087f000 GP : 0x4080c4e0
TP : 0x408699f8 T0 : 0x006acfc0 T1 : 0xffc3ffff T2 : 0x33323130
S0/FP : 0x408250d0 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x00001001
A2 : 0x00000000 A3 : 0x00000001 A4 : 0x08000000 A5 : 0x00000010
A6 : 0x00000002 A7 : 0x00000020 S2 : 0x4081e000 S3 : 0x00000001
S4 : 0x00000050 S5 : 0x4080d430 S6 : 0x00000a00 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x0197380c T4 : 0x01312d00 T5 : 0x00000041 T6 : 0x0000000f
MSTATUS : 0x00001881 MTVEC : 0x40800001 MCAUSE : 0x00000007 MTVAL : 0x00000010
MHARTID : 0x00000000

Stack memory: 4087f000: 0x00000003 0x00000000 0x019bfcc0 0x00000001 0x4081e000 0x00000007 0x408250d0 0x4202c4b6 4087f020: 0x00001800 0x00000110 0x00000110 0x40802100 0x40820000 0x4080ecb4 0x408250d0 0x000000a0 4087f040: 0x408250d0 0x4080ecb4 0x4080ecc4 0x42011b5a 0x00000000 0x00000000 0x00000000 0x00000000 4087f060: 0x40820000 0x00000000 0x4081e000 0x420000ee 0x00000000 0x4080bdf4 0x00000001 0x4087f278 4087f080: 0x0000001f 0x00000015 0x42031ffe 0x00000000 0x00000000 0x00000000 0x01000000 0x00000000 4087f0a0: 0x00000000 0x00000000 0x06000000 0xec1d26a2 0x00000000 0x00000000 0x00000000 0x42032026 4087f0c0: 0x00000000 0x00000000 0x00000000 0x40808dc6 0x00000000 0x00000000 0x00000000 0x00000000 4087f0e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 4087f100: 0xa5a5a5a5 0xbaad5678 0x00000160 0xabba1234 0x00000154 0x4087ef30 0x00000000 0x4081e654 4087f120: 0x4081e654 0x4087f114 0x4081e64c 0x00000018 0x00000000 0x00000000 0x4087f114 0x00000000 4087f140: 0x00000001 0x4087d104 0x706f6f6c 0x6b736154 0x00000000 0x00000000 0x00000000 0x4087f100 4087f160: 0x00000001 0x00000001 0x00000000 0x00000000 0x00000000 0x408206b8 0x40820720 0x40820788 4087f180: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x4204e62c 0x00000000 4087f1a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f1c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f1e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f200: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f220: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f240: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f260: 0x00000000 0x00000000 0xbaad5678 0x0000002c 0xabba1234 0x00000020 0x6c6c6548 0x7241206f 4087f280: 0x6e697564 0x5620216f 0x2e312e39 0x00000030 0x00000000 0x00000000 0xbaad5678 0x00000060 4087f2a0: 0xabba1234 0x00000054 0x00000000 0x4087f2a8 0x00000000 0x00000000 0x00000000 0x4087f2c0 4087f2c0: 0xffffffff 0x4087f2c0 0x4087f2c0 0x00000000 0x4087f2d4 0xffffffff 0x4087f2d4 0x4087f2d4 4087f2e0: 0x00000001 0x00000001 0x00000000 0x0000ffff 0x00000000 0xb33fffff 0x00000000 0xbaad5678 4087f300: 0x00000100 0xabba1234 0x000000f4 0x00000000 0x00000014 0x408221e0 0x00000000 0x00000000 4087f320: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f340: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f360: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f380: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f3a0: 0x00000000 0x00000000 0x00000000 0x00000101 0x00000000 0x00000000 0x0000000a 0x4082507c 4087f3c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 4087f3e0: 0x4087f410 0x40824cf8 0x00000000 0x40824eec 0x40824e88 0x40825018 0x40824fb4 0x40824f50

elgerg commented 4 months ago

Dupe of this one maybe? https://github.com/Bodmer/TFT_eSPI/issues/3384