WebUSB with Adafruit_TinyUSB library

Hi,
I’m trying to control my Seeed XIAO with a web interface.
I saw that webUSB is used with the Adafruit_TinyUSB library.

I tried without sucess.

First try :
platormio.ini

[env:seeed_xiao]
platform = atmelsam
board = seeed_xiao
framework = arduino
monitor_speed = 115200
lib_deps = 
	bxparks/AceButton@^1.9.2
	adafruit/Adafruit GFX Library@^1.11.3
	adafruit/Adafruit SH110X @ ^2.1.8
	adafruit/SD@0.0.0-alpha+sha.041f788250
	adafruit/Adafruit TinyUSB Library@^2.2.0
build_flags = 
	-DUSE_TINYUSB
platform_packages = 
	; framework-arduino-samd-seeed@https://github.com/Seeed-Studio/ArduinoCore-samd.git#v1.8.3
	; platformio/framework-arduino-samd-adafruit@^1.7.10
lib_archive = no

error

.pio/libdeps/seeed_xiao/Adafruit TinyUSB Library/src/arduino/Adafruit_USBD_CDC.cpp:48:28: error: 'uint8_t Adafruit_USBD_CDC::_instance_count' is not a static data member of 'class Adafruit_USBD_CDC'
 uint8_t Adafruit_USBD_CDC::_instance_count = 0;

Second try because I saw that latest Adafruit_TinyUSB are not supported, I tried with 0.10.5
platformio

[env:seeed_xiao]
platform = atmelsam
board = seeed_xiao
framework = arduino
monitor_speed = 115200
lib_deps = 
	bxparks/AceButton@^1.9.2
	adafruit/Adafruit GFX Library@^1.11.3
	adafruit/Adafruit SH110X @ ^2.1.8
	adafruit/SD@0.0.0-alpha+sha.041f788250
	adafruit/Adafruit TinyUSB Library@0.10.5
build_flags = 
	-DUSE_TINYUSB
platform_packages = 
	; framework-arduino-samd-seeed@https://github.com/Seeed-Studio/ArduinoCore-samd.git#v1.8.3
	; platformio/framework-arduino-samd-adafruit@^1.7.10
lib_archive = no

This time the code build, but I can’t access it trough USB and web navigator. I can’t find any example because the library version is too old.
Any news or status on that ?

code

#include <Arduino.h>
#include <Adafruit_TinyUSB.h>

void setup(){

}

void loop(){
    
}

the webUsb tester I used

Thanks

Up…

This tuto doesn’t work Seeed Studio XIAO SAMD21 with TinyUSB | Seeed Studio Wiki