-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile error in arduino ide #3346
Comments
I figured it out. Espressif released a new version 3.0 of their board manager. I switched back to 2.0.17 and it compiles again. |
I noticed that too, when I updated to the latest 3.0 ESP32 core. However for a working example that I had (writtten using the 2.0.11 core) displaying on TFT an JPG image in memory on an ESP32S3, I had to go back to version 2.0.14 of the ESP32 core to get it to work, the program would just crash on startup otherwise. |
I met this problem today. My quick solution (until there would be a new version of the library) for ESP32 core was to add
to |
Hi,, did you success? when I switch to 2.0.17, I got this error=
I use Win 10 and USB 3.0 port |
Yes, I it works for me. Recently, I changed it a little but it shouldn't make any difference.
The |
Thanks, @JiriBilek , you fixed the problem!
|
I've also just updated Arduino IDE 2.3.2 with ESP32 Core 3.x, and now find that compiling and running even the simple example tft_espi "Graph_demo_1" program on an EP32-S3 goes into an endless runtime "Guru Meditation Error" when the sketch hits the tft.begin() line. |
Actually, I've been able to get the Arduino debugger working with the ESP32-S3 JTAG/USB port, and have put a break point at the tft.begin() line. |
Just an idea: TFT_eSPI/Processors/TFT_eSPI_ESP32.c Line 56 in fae22f7
TFT_eSPI/Processors/TFT_eSPI_ESP32_S3.h Line 117 in fae22f7
I'd try to copy the code from esp32 and see what happens. |
Hi Steve,
Yes, I’m rolling back to ESP32 Core 2.x.
I can’t get tft_espi to work with 3.x.
The #include "driver/gpio.h" didn’t work for me.
…On Fri, 21 Jun 2024 at 1:21 am, Steve M. Potter ***@***.***> wrote:
Yes, something Espressif did broke TFT_eSPI. It is about bidirectional SPI
lines.
After lots of looking at a black display on my LilyGO T-Display,
I found here in one of the Issues a workaround:
Edit Processors/TFT_eSPI_ESP32.h to include
#include "driver/gpio.h"
—
Reply to this email directly, view it on GitHub
<#3346 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY3ZUNX5P3JQGGTZYILZRU3ZILXOHAVCNFSM6AAAAABIR4IUMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQHE3DKOJZGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hmmm...I think I'm now in over my head. Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled. Backtrace: 0x42013150:0x3fcebe90 0x42013311:0x3fcebec0 0x42013570:0x3fcebef0 0x42004e8e:0x3fcebf10 0x4201a3ae:0x3fcebfd0 PC: 0x42013153: is in TFT_eSPI::writecommand(unsigned char) (c:\Users\\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:81). EXCVADDR: 0x00000010Decoding stack results I've looked into each of these lines in the respective files, but can't make head-nor-tail of what might be going on the commands/functions to cause the exception. If any of this makes any sense to anyone, I'd really appreciate some enlightening interpretations. |
Suppose you copied all 4 lines into the .c file and deleted the 4 defines from .h? |
No, I just copied the 'volatile' from ESP32.c, commented out the '#define' in ESP32_S3.h, and pasted the 'volatile' line below it. |
First, I am not sure it will work. |
Hi JiriBilek, |
Switching back is probably the easiest solution. Thanks for this! |
I had the same problem with C3. Fixed here: #3384 |
I just loaded the latest arduino ide and I got this error:
In file included from C:\Users\marti\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:24:
C:\Users\marti\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32.c: In member function 'void TFT_eSPI::begin_SDA_Read()':
C:\Users\marti\OneDrive\Documents\Arduino\libraries\TFT_eSPI\Processors/TFT_eSPI_ESP32.c:72:3: error: 'gpio_set_direction' was not declared in this scope
72 | gpio_set_direction((gpio_num_t)TFT_MOSI, GPIO_MODE_INPUT);
It compiled last time I tried it. Any ideas anybody? Thanks.
The text was updated successfully, but these errors were encountered: