Hi,
I’ve developed a project in the past with platformio core 4.x and are moving it now to 5.0.
In this process I want to make a copy of all platform packages and libraries that are necessary for compile the project on a raspberry pi and flash it into a sleepypi. Specifcally I’ll be using a Raspberry Pi 3B+ and a Sleepypi 2 and run the code inside a Docker container.
In my earlier version I just let platformio install the necessary dependencies itself. From the terminal output I think there are the following things to download:
- atmelavr @ 3.0.0
- toolchain-atmelavr @ 1.50400.190710
- framework-arduino-avr @ 5.1.0
- tool-scons @ 4.40001.0
Platform Manager: atmelavr @ 3.0.0 has been installed!
The platform 'atmelavr' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Tool Manager: Installing platformio/toolchain-atmelavr @ ~1.50400.0
Downloading...
Unpacking [####################################] 100%
Tool Manager: toolchain-atmelavr @ 1.50400.190710 has been installed!
Tool Manager: Installing platformio/framework-arduino-avr @ ~5.1.0
Tool Manager: framework-arduino-avr @ 5.1.0 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40001.0
Tool Manager: tool-scons @ 4.40001.0 has been installed!
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/sleepypi-custom.html
PLATFORM: Atmel AVR (3.0.0) > SpellFoundry Sleepy Pi 2
HARDWARE: ATMEGA328P 8MHz, 2KB RAM, 30KB Flash
PACKAGES:
- framework-arduino-avr 5.1.0
- toolchain-atmelavr 1.50400.190710 (5.4.0)
What I would like to know now is:
- Where can I find these libraries (dependencies? platforms?) to download them to my drive for further install from file
- Anything I have to be aware of there, if I want to run this on a Raspberry Pi? (like take the ARM version, or so)
- How can I install these depencies from a file? (I suspect as detailed here)
To be clear, my goals are:
- Offline install from file
- Fix it to a specific version (that i have downloaded)