I want to reuse cache for installing platform

I trying to install pico environment.


platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
board_build.core = earlephilhower
framework = arduino

This setting clones a lot of code so it often fails cloning process.

VCSBaseException: VCS: Could not process command ['git', 'clone', '--recursive', 'https://github.com/earlephilhower/arduino-pico.git', '/home/asuki/.platformio/.cache/tmp/pkg-installing-ex04pp04']

For the more, installing process uses new directory after failed installing so it’s very hard to install on unstable network.

Is there any configuration to reuse cache directory for installing platform code?

You may be able to download the current version via a Webbrowser and then extract it to ~/.platformio/packages/framework-arduinopico.