Outdated framework-arduino-samd-adafruit

Hi,
I am using a Adafruit Metro M0 (samd21) board and have to build a custom USB device. This device got 2xCDC and 1xHID. As far as I understand PlatformIO pulls dependencies according to the selected board, this is why platformio/framework-arduino-samd and platformio/framework-arduino-samd-adafruit are loaded. But the ArduinoCore-samd does not include latest Adafruit_TinyUSB as shown here

This is why I opened those 2 pull requests to fix this:

Could someone please confirm my understanding is correct so far?
and will those pr close the issue?

Furthermore I would suspect to be able to temporarily work around this by overwriting the definitions:

[env]
framework = arduino
upload_port = /dev/ttyACM0
monitor_speed = 115200
monitor_port = /dev/ttyACM0
lib_archive = no
build_flags =
-DSERIAL_BAUD=${env.monitor_speed}

# TinyUSB
-DUSE_TINYUSB
-DCFG_TUD_CDC=2
-DCFG_TUD_HID=1

[env:SAMD21]
board = adafruit_metro_m0
platform = https://github.com/nerdyscout/platform-atmelsam/archive/refs/tags/8.3.1.zip
platform_packages =
# platformio/toolchain-gccarmnoneeabi@1.120301.0
# platformio/framework-cmsis@2.50900.0
# platformio/framework-cmsis-atmel@1.2.2
# platformio/framework-arduino-samd@1.8.14
	framework-arduino-samd-adafruit@https://github.com/nerdyscout/ArduinoCore-samd#add_package.json

after doing so

pio pkg list

shows

Resolving SAMD21 dependencies…
Platform atmelsam @ 8.3.1 (required: https://github.com/nerdyscout/platform-atmelsam/archive/refs/tags/8.3.1.zip)
├── framework-arduino-samd-adafruit @ 1.0.0+sha.c0c7bd0 (required: git+https://github.com/nerdyscout/ArduinoCore-samd#add_package.json)

so every seems to be in place. But I get this error:

Resolving SAMD21 dependencies…
AssertionError: Traceback (most recent call last):
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/main.py”, line 103, in main
cli() # pylint: disable=no-value-for-parameter
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/click/core.py”, line 1157, in call
return self.main(*args, **kwargs)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/cli.py”, line 85, in invoke
return super().invoke(ctx)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/click/core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/click/core.py”, line 783, in invoke
return __callback(*args, **kwargs)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/project/commands/init.py”, line 106, in project_init_cmd
install_project_dependencies(
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/commands/install.py”, line 107, in install_project_dependencies
already_up_to_date = not install_project_env_dependencies(env, options)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/commands/install.py”, line 132, in install_project_env_dependencies
_install_project_env_platform(project_env, options),
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/commands/install.py”, line 149, in _install_project_env_platform
PlatformPackageManager().install(
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/manager/platform.py”, line 62, in install
p.install_required_packages(force=force)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/platform/_packages.py”, line 76, in install_required_packages
self.install_package(name, force=force)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/platform/_packages.py”, line 70, in install_package
return self.pm.install(spec or self.get_package_spec(name), force=force)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/manager/_install.py”, line 47, in install
pkg = self._install(spec, skip_dependencies=skip_dependencies, force=force)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/manager/_install.py”, line 91, in _install
self.install_dependencies(pkg, print_header=False)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/manager/_install.py”, line 143, in install_dependencies
self.install_dependency(dependency)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/manager/_install.py”, line 155, in install_dependency
dependency_compatibility = PackageCompatibility.from_dependency(dependency)
File “/home/stefan/.platformio/penv/lib/python3.10/site-packages/platformio/package/meta.py”, line 79, in from_dependency
assert isinstance(dependency, dict)
AssertionError