Cannot configure my st7789 screen with ESP32-C3 super mini

Screen stays blank no matter what - only backlights are on. The screen is GMT020-02-7P 2'0 inches with only SDA output (MOSI only i presume). I rechecked wiring many times and i am confident in it. With adafruit gfx library the screen works fine so it turns out i am missing something.
The User_Setup.h is:

#define ST7789_DRIVER
#define TFT_WIDTH  240
#define TFT_HEIGHT 320
#define TFT_MISO  -1  
#define TFT_MOSI  10  
#define TFT_SCLK  8 
#define TFT_BL     -1
#define TFT_CS    6 
#define TFT_DC    4  
#define TFT_RST   5
#define LOAD_GLCD 
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6 
#define LOAD_FONT7
#define LOAD_FONT8 
#define LOAD_GFXFF
#define SMOOTH_FONT
#define SPI_FREQUENCY  80000000
#define SPI_READ_FREQUENCY  20000000

#define SPI_FREQUENCY 20000000
#define SPI_READ_FREQUENCY 10000000

lower frequency is not solving the problem

static const uint8_t SS    = 7;
static const uint8_t MOSI  = 6;
static const uint8_t MISO  = 5;
static const uint8_t SCK   = 4;

can you give a link to the specific SD7789 display or at least a photo?

looks like you are using the TFT_eSPI library?

are you suggesting me to put variables instead of definitions ? Or these are just pins it will work with

these are just pins it will work with
Give me a photo of your board
???


Yes, Bomber's lib

MISO - 5
MOSI - 6
SCK - 4
SS - 7

yeah, it is exactly the same board. Not sure if other c3 supermini's exist. But i have tried this layout and it didnt work aswell. Plus, i only have SDA which i presume means that only MOSI avalable. I simply have no pin to attach MISO

ok!
In IDE - esp32c3 dev module?

yes

This topic might be of your interest. Maybe a solution, maybe not, but at least one person that claims to have success and one that claims to be a representative of the manufacturer...

This other one had no success

Unfortunately they cannot help me

using a ESP32-C3-MINI-1 connected a Waveshare General 2inch LCD Display Module IPS Screen 240×320 ST7789 using TFT_eSPI library example TFT_Print_Test

the Arduino\libraries\TFT_eSPI\User_Setup.h file

// TFT_eSPI setup.h file for ESP32-C3-MINI-1 Module
// RP2040 Waveshare General 2inch LCD Display Module IPS Screen 240×320 ST7789

#define USER_SETUP_INFO "User_Setup"

#define ST7789_DRIVER      // Full configuration option, define additional parameters below for this display

// For ST7735, ST7789 and ILI9341 ONLY, define the colour order IF the blue and red are swapped on your display
// Try ONE option at a time to find the correct colour order for your display
//  #define TFT_RGB_ORDER TFT_RGB  // Colour order Red-Green-Blue
//  #define TFT_RGB_ORDER TFT_BGR  // Colour order Blue-Green-Red

// For ST7789, ST7735, ILI9163 and GC9A01 ONLY, define the pixel width and height in portrait orientation
#define TFT_WIDTH  240 // ST7789 240 x 240 and 240 x 320
#define TFT_HEIGHT 320 // ST7789 240 x 320

// If colours are inverted (white shows as black) then uncomment one of the next
// 2 lines try both options, one of the options should correct the inversion.

// #define TFT_INVERSION_ON
// #define TFT_INVERSION_OFF

#define TFT_CS   7 //  RESP32-C3-MINI-1 Module
#define TFT_MOSI 6 
#define TFT_SCLK 4 
#define TFT_MISO 5 

#define TFT_DC   8
#define TFT_RST  10

#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_GFXFF

#define SMOOTH_FONT

#define SPI_FREQUENCY   10000000

#define SPI_TOUCH_FREQUENCY  2500000

ran File>Examples>TST_eSPI>320*240>TFT_Print_Test

same SPI pins etc exist the ESP32-C3 super mini so should work

EDIT: PROBLEM! with TFT_eSPI display library on ESP32C3 processor goes into a reset loop
change Line 71 in fileTFT_eSPI/Processors/TFT_eSPI_ESP32_C3.h

#define SPI_PORT SPI2_HOST

to

#if ESP_ARDUINO_VERSION_MAJOR < 3
  #define SPI_PORT SPI2_HOST
#else
  #define SPI_PORT 2
#endif

it seems to be working now. Thanks a bunch!