I lit up the TFT screen on ESP32 C3 and repeatedly restarted TFT_eSPI

platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip

board = seeed_xiao_esp32c3

framework = arduino

monitor_speed = 115200

upload_speed = 921600

upload_protocol = esptool

board_build.flash_mode = dio

board_build.partitions = huge_app.csv

lib_deps =

bodmer/TFT_eSPI

ricmoo/QRCode@^0.0.1

Plug in type: standard 8PIN
Driver ST: 7735
SPI serial port: 4-wire

Burning it will repeatedly restart. Do you have any other good solutions

Solution
TFT_eSPI_ESP32_C3.h
// #if defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S2)
// #if (TFT_MISO == -1)
// #undef TFT_MISO
// #define TFT_MISO TFT_MOSI
// #endif
// #endif

change to
#ifdef CONFIG_IDF_TARGET_ESP32C3
#define SPI_PORT 2
#else
#define SPI_PORT SPI2_HOST
#endif