-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile in offline mode #61
Comments
Maybe not all necessary parts of the tool-chain are installed yet. |
I've already tried that: the projects builds fine while online, but never while offline. |
When compiling, it seems |
Specifying platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip Then pio will download the platform except it is already installed on your computer. If you use platform = espressif32 pio will use the highest available version from your computer. |
@sivar2311, that is not correct:
|
Afaik Whereby using |
@sivar2311 , that's correct, and |
No. If the platform is downloaded once there is no check for updated available versions. You will stick on the version that was downloaded once. Except you delete the platform folder on your harddrive. |
@sivar2311 I see, so what I understand is that So the obvious workaround is to come back to the former way of using this repo:
instead of the way documented in the home page. |
First pioarduino != Platformio Platform handling is and will always be different since not using Platformio registry for Platform. For upcoming Arduino Core 3.2.0 the Platformio registry will not be used for anything (since needed toolchains will not be available from) I will change that offline compile will be possible again. |
@sylque Try
after first install where always internet is needed ;-) Cut connection and try if it is still working. Can't test since no PC in reach... |
@Jason2866, it seems to work, thanks. |
@sylque Thx for testing, the branch will be merged in main. When being online the check will be tried. If no rate limit happens :-) and a newer stable release version exists it will be automatically installed. pio pkg update is not useable with pioarduino since there are no newer packages in Platformio registry or no used packages from pioarduino are there |
Merged in branch main and release package updated. After deleting the hidden folders
|
@Jason2866 Seems to work like a charm, thank you! |
Platform
pioarduino/platform-espressif32
cannot be used without an Internet connection:Platform
platform = platformio/espressif32
has no such problem.The text was updated successfully, but these errors were encountered: