GC9A01 and Xiaio esp32

No , better he doesn’t I don’t read them.
Post the questions , so everyone benefits from the solution.
TIA
GL :slight_smile: PJ :v:

1 Like

Dont be so grumpy Monkey… We gotta help the younglings coming behind us… I understand your principles… but we need more members… not less… I agree you learn more from experimentation… but you just might make the difference between someone succeeding and failing… like i said… I was unable to replicate your results with the Arduino Uno tft for most basic sketch… but the more complicated worked just fine…

I agree some are not worth investing in… but this guy seems a glutton for punishment… he keeps coming back for more… so maybe he has no where else to turn… Obviously he doesnt need help with his homework… because school doesnot use seeed gear…

You know my principle is not to help people troubleshoot non seeed gear on the seeed forum…
Dont be an Anakin Skywalker… I understand you have limited time and I acknowledge that you dedicate far too much of your time to Seeed… but i make exceptions when they are obvious

My recomendation would be buy two Seeed XIAO Round Displays and call me in the morning!

Hi there,
So here is the compiler output from your posted code that runs fine Oh and the load video short.LOL
HTH
GL:-) PJ :v:

FQBN: esp32:esp32:XIAO_ESP32C3
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11
Using core 'esp32' from platform in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11

EDIT for brevity and really only the first 3 lines help beginners and the last 20 or so., IMO

Using library SPI at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\SPI 
Using library TFT_eSPI at version 2.5.23 in folder: D:\Arduino_projects\libraries\TFT_eSPI 
Using library FS at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\FS 
Using library SPIFFS at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\SPIFFS 
"C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\riscv32-esp-elf-gcc\\esp-2021r2-patch5-8.4.0/bin/riscv32-esp-elf-size" -A "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.elf"
Sketch uses 284844 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 14004 bytes (4%) of dynamic memory, leaving 313676 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1/esptool.exe" --chip esp32c3 --port "COM6" --baud 921600  --before default_reset --after hard_reset write_flash  -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.bootloader.bin" 0x8000 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.partitions.bin" 0xe000 "C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\5F8C7BFD7F302905B76AC12E06A7FDD7/sketch_jun28a.ino.bin" 
esptool.py v4.5.1
Serial port COM6
Connecting...
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: a0:76:4e:3f:a3:88
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0005afff...
Compressed 13216 bytes to 9528...
Writing at 0x00000000... (100 %)
Wrote 13216 bytes (9528 compressed) at 0x00000000 in 0.3 seconds (effective 336.7 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 407.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 553.3 kbit/s)...
Hash of data verified.
Compressed 304752 bytes to 167045...
Writing at 0x00010000... (9 %)
Writing at 0x0001a396... (18 %)
Writing at 0x000243fc... (27 %)
Writing at 0x0002a070... (36 %)
Writing at 0x00031403... (45 %)
Writing at 0x0003831d... (54 %)
Writing at 0x0003e3c2... (63 %)
Writing at 0x00044603... (72 %)
Writing at 0x0004a474... (81 %)
Writing at 0x000508dc... (90 %)
Writing at 0x00059488... (100 %)
Wrote 304752 bytes (167045 compressed) at 0x00010000 in 2.7 seconds (effective 900.4 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

you will get some complaints about the touch screen but your not there yet. :+1:
A suggestion also would be at a minimum, place “MCUa out or reset prompt” or file name or date or time or something to let you know it’s alive and it’s the rest of the code that is Nurf’d.

1 Like

Nah, not here… LOL
It is a Round seeed display I’m using same driver for GC9A01 in TFT_eSPI.lib with other options from the ST7789 we messed with the other day. All relative, he needs the options.
All Good.
Works perfectly.
GL :slight_smile: PJ
:v:

1 Like

Thank you for all your advice and help :). This forum is really very helpful :), but the problem is still not solved. After uploading version 2.0.11 for esp32 boards, the same problem occurs…

I will probably have to change something else in the ESP32 folder, but I don’t really know what it should be :confused:

I paste the compiler error below

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_880952 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_449937 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_880952 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_449937 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
Using core 'esp32' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv" if exist "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\tools\\partitions\\default.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\partitions.csv"
        1 file(s) copied.
cmd /c IF EXIST "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" ( COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" ( COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe" --chip esp32c3 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3\\bin\\bootloader_qio_80m.elf" ) )
esptool.py v4.5.1
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\build_opt.h"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\build_opt.h" type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\build_opt.h"
cmd /c type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952/file_opts"
Detecting libraries used...
/bin/riscv32-esp-elf-g++ -c "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=160000000L -DARDUINO=10813 -DARDUINO_XIAO_ESP32C3 -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"XIAO_ESP32C3\"" "-DARDUINO_VARIANT=\"XIAO_ESP32C3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/defines" "-IC:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter" -iprefix "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/include/" "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/includes" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/qio_qspi/include" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\cores\\esp32" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952/build_opt.h" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952/file_opts" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_880952\\sketch\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
exec: "/bin/riscv32-esp-elf-g++": file does not exist
Błąd kompilacji dla płytki XIAO_ESP32C3.

HI there, NO… You don NOT have the correct BSP loaded.its says so above.
So in arduinoIDE which version are you using.?
Open the Boards tab, type in ESP
You’ll see the choices, pull down the carret to 2.0.11
let it do it’s thing and run the compile AGAIN… and paste the first 3 lines from the output. back here.
These are basic concepts, so you better be able to do as instructed or it will be harder to learn how it works.
Post any questions you have about the specifics and I’ll walk you through it. It’s NOT rocket science but more a procedure of steps.
You have the ALPHA BSP loaded now which doesn’t work with anything OLD at All. FYI.
HTH
GL :slight_smile: PJ
:v:
check the red arrows first, once you have that, then the GREEN apply OPEN the EXAMPLES for the TFT_eSPI and select diagnostics from the menu, LOAD up the READ_USER_SETUP.ino and compile and run it. Paste the output from the serial port it generates Like the screen above.
GET going,

Hi there,
Where it say’s UPDATE next to a menu(3rd red arrow) pull down Carrett , pull it down and pick the 2.0.11
let it do it’s thing then, run the compile again.
HTH
GL :slight_smile: PJ

Hi… I’m using Arduino 1.8.13. I did everything related to the red arrows as you said earlier… the compiler code is the one after installing 2.0.11. But to be sure, I reinstalled it.

can you tell me what ALPHA in BSP means? because when selecting the driver it is not written anywhere that it is the ALPHA 2.0.11 version

And here is a kompilator code:

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_829504 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_829504 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -verbose C:\Users\Małgorzata\Downloads\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
Using core 'esp32' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv" if exist "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\tools\\partitions\\default.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\partitions.csv"
        1 file(s) copied.
cmd /c IF EXIST "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" ( COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" ( COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe" --chip esp32c3 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.bootloader.bin" "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3\\bin\\bootloader_qio_80m.elf" ) )
esptool.py v4.5.1
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
cmd /c if exist "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" COPY /y "C:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter\\build_opt.h" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\build_opt.h"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\build_opt.h" type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\build_opt.h"
cmd /c type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504/file_opts"
Detecting libraries used...
/bin/riscv32-esp-elf-g++ -c "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=160000000L -DARDUINO=10813 -DARDUINO_XIAO_ESP32C3 -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"XIAO_ESP32C3\"" "-DARDUINO_VARIANT=\"XIAO_ESP32C3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/defines" "-IC:\\Users\\Małgorzata\\Downloads\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter" -iprefix "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/include/" "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/includes" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/qio_qspi/include" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\cores\\esp32" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504/build_opt.h" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504/file_opts" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_829504\\sketch\\XIAO_ESP32C3_GC9A01_circular_TFT_ring_meter.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
exec: "/bin/riscv32-esp-elf-g++": file does not exist
Błąd kompilacji dla płytki XIAO_ESP32C3.

And here is the compilation with READ_USER_SETUP

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_597923 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -verbose C:\Users\Małgorzata\Documents\Arduino\libraries\TFT_eSPI\examples\Test and diagnostics\Read_User_Setup\Read_User_Setup.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Małgorzata\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Małgorzata\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Małgorzata\Documents\Arduino\libraries -fqbn=esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none -vid-pid=303A_1001 -ide-version=10813 -build-path C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_build_597923 -warnings=none -build-cache C:\Users\MAGORZ~1\AppData\Local\Temp\arduino_cache_318431 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mklittlefs.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.dfu-util.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -verbose C:\Users\Małgorzata\Documents\Arduino\libraries\TFT_eSPI\examples\Test and diagnostics\Read_User_Setup\Read_User_Setup.ino
Using board 'XIAO_ESP32C3' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
Using core 'esp32' from platform in folder: C:\Users\Małgorzata\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.0-alpha3
cmd /c if exist "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\partitions.csv" COPY /y "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv" if exist "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\partitions.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv" COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\tools\\partitions\\default.csv" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\partitions.csv"
cmd /c IF EXIST "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\bootloader.bin" ( COPY /y "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\Read_User_Setup.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" ( COPY "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3\\bootloader.bin" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\Read_User_Setup.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe" --chip esp32c3 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\Read_User_Setup.ino.bootloader.bin" "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3\\bin\\bootloader_qio_80m.elf" ) )
esptool.py v4.5.1
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
cmd /c if exist "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\build_opt.h" COPY /y "C:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup\\build_opt.h" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\build_opt.h"
cmd /c if not exist "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\build_opt.h" type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\build_opt.h"
cmd /c type nul > "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923/file_opts"
Detecting libraries used...
/bin/riscv32-esp-elf-g++ -c "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/cpp_flags" -w -Os -w -x c++ -E -CC -DF_CPU=160000000L -DARDUINO=10813 -DARDUINO_XIAO_ESP32C3 -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"XIAO_ESP32C3\"" "-DARDUINO_VARIANT=\"XIAO_ESP32C3\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:XIAO_ESP32C3:CDCOnBoot=default,PartitionScheme=default,CPUFreq=160,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none,EraseFlash=none\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/defines" "-IC:\\Users\\Małgorzata\\Documents\\Arduino\\libraries\\TFT_eSPI\\examples\\Test and diagnostics\\Read_User_Setup" -iprefix "C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/include/" "@C:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/flags/includes" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-3662303f31/esp32c3/qio_qspi/include" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\cores\\esp32" "-IC:\\Users\\Małgorzata\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\variants\\XIAO_ESP32C3" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923/build_opt.h" "@C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923/file_opts" "C:\\Users\\MAGORZ~1\\AppData\\Local\\Temp\\arduino_build_597923\\sketch\\Read_User_Setup.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
exec: "/bin/riscv32-esp-elf-g++": file does not exist
Błąd kompilacji dla płytki XIAO_ESP32C3.

Before changing BSP to 2.0.11, the sketch was compiled and uploaded, but nothing was displayed on the screen. Now I keep getting a message at the end
“”/bin/riscv32-esp-elf-g++": file does not exist
"

I also think that the problem is not in the TFT but in the ESP32 folder, something must have changed :confused:

there is one more, perhaps important issue… because my module is not integrated with the screen

nice connectors… Thats what i was saying… Grove should make a SPI standard connector

PS he trying to see if you got bad soulder joint or obvious miswiring so send more pics at different angles… Of the circuit board… not D pics

DUDE… please do us a favor and just buy some XIAO Gear

Its on sale

There may be a problem here, because this is not the target display… I want to use this screen for the gear knob, which is not in the grove version

but it works on the same libraries :slight_smile:

I’m looking for a solution in the gc9a01 display, because if this one works, the second one in the photo will work too. as I wrote, there is no problem on esp8266, the devkit also works on Esp32. only on seeeduion there is a problem, and I need this controller because it is tiny and will be placed inside the gear knob😇

i understand… get one for prototyping…

1 Like

Yes Sir. this is the first prototype (gc9a01 screen) on which it is based because there are most tutorials for it… and the target screen works on the same principle :slight_smile:

I told seeed to make one with the knob… but they said just use the touch screen…

HI there,
So Alpha is the first release from Espressif for ESP32 series for compatibility with there own IDE
That BSP Alpha 3.0.X breaks the older demos and examples. If your compiler output above is still showing that it’s using the WRONG BSP, and with using an older version of Arduino IDE which you are the alpha BSP’s will definitely not work for this. that’s why you get the compile error.

Looking at the picture and the pinouts, you should NOT use D0 if you can avoid that it’s a strapping pin for MCU also I don’t see in the code where you Set the pins for CS,DC, etc.
You should have something like

#define cs 2 //DO or GPIO2
#define dc 3 //D1 or GPIO3
#define rst 4 //D2 or GPIO4
also they need to be set as outputs in the code as well with a pins statement.
and in your TFT init should be like this:
TFT TFTscreen = TFT(cs, dc, rst); // So the LIB knows which pins your using , I don’t see that in your code.

Load another example like the StarField one. Look at that code and fix yours.
I don’t see any serial output from running the read _user _setup Diagnostic, to indicate what the LIB is set for. You see the screen I posted of it. You should get the same thing if its configured and wired correctly.

Use the compiler output to determine if it’s loading the correct BSP (first 3 lines) and the correct lib versions (last 20 lines) just look through them it should match What I posted. Start with that.
Before anything.
It may be your older IDE doesn’t work with the Xiao ESP32C3 why not use version 2.X of the IDE are you on a linux or mac?
Is this a Windows 10 Dev environment?

Starge when the code compiles and NO display could be your just missing the defines for the CS,DC,RST, etc. I would add those asap. to cover all the bases.
HTH
GL :slight_smile: PJ
:v:
You get it stay with it and work it through one issue at a time , don’t move forward until you get the output you need to have, It does work with that screen, only your pins are not initialized in the code. so fix that.

EVERYTHING WORKS!!. It was just as you wrote! the problem was the BSP version.

Everything works on version 2.0.11​:innocent:… The problem was that in the esp32/hardware folder there were two versions 2.0.11 and 3.0.0-alfa3. I don’t know why Arduino chose the second version. But I deleted it from the folder and it worked​:innocent::innocent: Thank you very much again for your help :heart::heart::heart:

1 Like