-
-
Notifications
You must be signed in to change notification settings - Fork 800
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
[Feature] PlatformIO Offline devepment #3333
Comments
Hi, I found in this link https://docs.platformio.org/en/latest/projectconf/section_env_platform.html#platform-packages, there is an option called Is there any way to not copy it to the platform managed directories? So I can develop the code at the same time without useless copy, or you can expose an option to control it? And it also require the folder must provide a Thanks |
Hi! :)
No, you need PIO Account the only if you use PIO Remote which depends on Internet.
PlatformIO does not depend on the Internet at all. It works fully off-line the only if all dependencies are downloaded (libraries, toolchains, platforms, etc). A temporary solution is to use https://docs.platformio.org/en/latest/userguide/platforms/cmd_install.html#cmdoption-platformio-platform-install-with-package and manually specify which packages to install. The list of packages is declared in each dev-platform. In any case, I've just filed a separate feature request #3345
We don't recommend to modify internal packages. It's the same if you install some packages using Linux package managers and then will try to modify them in your system. A package manager is responsible to maintain official packages from registry. If you need modified version of vendor package, just clone/copy and modify it. Then use Also, pleaser read this https://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#override-package-files
You can, just download them from our CDN https://bintray.com/platformio/dl-packages and unpack to
Could you provide an example? Have you seen this https://docs.platformio.org/en/latest/platforms/creating_board.html ?
Do you mean behavior similar to "symlinking"? |
Hi, @ivankravets thanks for your detailed explainations. I think I have get most of the answers.
Thanks |
You can use platform_packages. However, the current implementation will copy all files. I opened #3348 for this case. |
Dead link.
From the link I can read "This command is deprecated and will be removed in the next releases." I believe there some confusion about the OP's request. Platform IO is great however it still and always depends on a working internet connection at some point. There are people who are required to code / build stuff on airgapped machines that can't have internet access even for setup. It would be nice to see a simple way to download / store dependencies and install them manually / with a command so the local development platform doesn't require internet access. Thank you. |
Hi genius,
I am newbie to use platformio, but known it long long ago since you create this project a few years a log, and I found it is really a good iot development platform to cover so many great opensource embedded software platform, such as Zephyr, ARMMbed, STM32, Arduino, and also provided good GUI experiences using VSCode and other IDEs.
And when I use it I found the following issues which make me quite confused:
Thanks
Huaqi
The text was updated successfully, but these errors were encountered: