The firmware is buildable with the latest PlatformIO core 6.1.8a1. I just massaged the platformio.ini to use the older STM32 core version, the defines and a library dependency finder mode and it compiles the wio-e5 environment fine.
That’s confirmed by CI too.
Linking .pio/build/wio-e5/firmware.elf
Checking size .pio/build/wio-e5/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [==== ] 35.4% (used 23188 bytes from 65536 bytes)
Flash: [====== ] 62.6% (used 164132 bytes from 262144 bytes)
Building .pio/build/wio-e5/firmware.bin
======================== [SUCCESS] Took 108.54 seconds ========================