Hi everyone,
I have an Arduino Portenta Machine control and a binary file that I want to upload to it using the arduino cli.
Currently I’m calling the following commands
arduino-cli core install arduino:mbed
Then
arduino-cli core update-index
However when I run the upload command it pulls down further libraries. Is there any command I can run to ensure all the libraries I need are installed so that in the future I can upload to the device when I have no internet connection?
Many thanks
You should use the arduino:mbed_portenta platform instead of arduino:mbed. Originally, there was only a single "Arduino Mbed OS Boards" platform, arduino:mbed. However, as support was added to the platform for more boards of diverse architecture over time, the platform became bloated. So it was split into separate platforms for each of the board families. The arduino:mbed platform is still offered for the sake of not breaking workflows that were developed during the time before the split, but the platform is no longer maintained so using it results in you getting a significantly outdated version.
It should not. Please post the output that makes you think it is doing this so we can understand.
1 Like