I found that my 2.4" display 320x240 ILI9341 does not work with brand new version of ulisp-arm 4.5a, however it does work with version 4.4b with commentaries - both versions are taken from current GitHub master branch.
What is confusing for me is that I cannot see any significant difference between these two files. In both files the same sections of code were added/altered by me:
#elif defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_QTPY_RP2040) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_SEEED_XIAO_RP2040)
#define WORKSPACESIZE (22912-SDSIZE) /* Objects (8*bytes) /
#define LITTLEFS
#include <LittleFS.h>
#define FILE_WRITE_BEGIN “w”
#define FILE_READ “r”
#define CODESIZE 256 / Bytes */
#define STACKDIFF 320
#define CPU_RP2040
#if defined(gfxsupport)
const int COLOR_WHITE = 0xffff, COLOR_BLACK = 0;
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#define TFT_CS 17
#define TFT_DC 15
#define TFT_RST 14
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
#endif
and:
void initgfx () {
…
#elif defined(ARDUINO_RASPBERRY_PI_PICO)
tft.begin();
tft.setRotation(1);
tft.fillScreen(ILI9341_GREEN);
#endif
#endif
I cannot share these whole files here. If you need them, please, let me know.
Thanks in advance!
Petr