OK, code is compiling?
hopefully there is not too much difference, that the code is working
BUT no upload possible
Uploading .pio\build\dfrobot_beetle_esp32c3\firmware.bin esptool.py v4.4 Serial port COM11 Connecting... A fatal error occurred: This chip is ESP32-C6 not ESP32-C3. Wrong --chip argument? *** [upload] Error 2