Makerfabs / MaTouch-ESP32-S3-Rotary-IPS-Display-with-Touch-2.1-ST7701

32 stars 8 forks source link

FW Sketch and Arduino Settings Incompatible #2

Open SuperJonotron opened 9 months ago

SuperJonotron commented 9 months ago

Following the wiki for setup (https://wiki.makerfabs.com/MaTouch_ESP32_S3_2.1_Rotary_TFT_with_Touch.html) you are immediately hit with the error indicated at the bottom:

I get the failed message from serial after I uploaded the code to the board: no mem for frame buffer ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM) at 0x4037af3c, the screen shows nothing. What's wrong? A3: There is no enough memory, you must select PSRAM "OPIPSRAM": in Arduino IDE. As the same, 16MB Flash and 3MB APP/9.9MB FATFS are also recommannded for huge application.

Presumably the default fw_test_v2 is installed on the device I received and worked on arrival. In an attempt to make sure I could upload and understand the basics of the sketch, I followed the examples and uploaded the sketch only to be met with that error streaming. So if this is the true way to set it up, and it fails, then either the sketch is invalid or the settings are incorrect in the guide.

slowriding commented 8 months ago

I'm using Arduino IDE 2.2.1 following the directions and got fw_test_v2 to compile, load and run.
Because the modified libraries are not forked or updated for this device I started from a fresh IDE install and am afraid to load any other projects or extra libraries. I guess I should run it in a container so I don't break it now that it is compiling.