And you verified that this works outside of WSL with the exact same platformio.ini and code?
platformio.ini