Hello!
I was just wondering if there was a way for the CLI to install boards from an additional url
. In the 1.8.X
GUI there was a way to add an additional board URL in the preferences and then install the board from the manager.
is there a way to do that with the cli? Something like:
arduino-cli core install MiniCore --additional-urls <url here>
That doesn't seem to work with the minicore package on a raspberry pi.
Thanks!
Hi @kevinlutzer
Yes, like that. But you must use the correct ID of the "core" in the command.
You can learn the IDs of the available cores using the arduino-cli core list --all
command :
$ ./arduino-cli core list --all --additional-urls https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json
ID Installed Latest Name
arduino:avr 1.8.6 Arduino AVR Boards
arduino:mbed_edge 4.0.2 Arduino Mbed OS Edge Boards
arduino:mbed_giga 4.0.2 Arduino Mbed OS Giga Boards
arduino:mbed_nano 4.0.2 Arduino Mbed OS Nano Boards
arduino:mbed_nicla 4.0.2 Arduino Mbed OS Nicla Boards
arduino:mbed_opta 4.0.2 Arduino Mbed OS Opta Boards
arduino:mbed_portenta 4.0.2 Arduino Mbed OS Portenta Boards
arduino:mbed_rp2040 4.0.2 Arduino Mbed OS RP2040 Boards
arduino:megaavr 1.8.8 Arduino megaAVR Boards
arduino:nrf52 1.0.2 Arduino nRF52 Boards
arduino:renesas_portenta 1.0.1 Arduino Renesas Portenta Boards
arduino:sam 1.6.12 Arduino SAM Boards (32-bits ARM Cortex-M3)
arduino:samd 1.8.13 Arduino SAMD Boards (32-bits ARM Cortex-M0+)
arduino:renesas_uno 1.0.1 Arduino UNO R4 Boards
Arrow:samd 2.1.0 Arrow Boards
atmel-avr-xminis:avr 0.6.0 Atmel AVR Xplained-minis
emoro:avr 3.2.2 EMORO 2560
industruino:samd 1.0.1 Industruino SAMD Boards (32-bits ARM Cortex-M0+)
Intel:arc32 2.0.6 Intel Curie Boards
Intel:i586 1.6.7+1.0 Intel i586 Boards
Intel:i686 1.6.7+1.0 Intel i686 Boards
littleBits:avr 1.0.0 littleBits Arduino AVR Modules
MiniCore:avr 2.2.2 MiniCore
renesas:rl78g22_fpb 2.0.0 RL78/G22 Fast Prototyping Board
renesas:rl78g23_fpb_p64 2.0.0 RL78/G23-64p Fast Prototyping Board
Microsoft:win10 1.1.2 Windows 10 Iot Core
arduino:mbed 3.3.0 [DEPRECATED] [DEPRECATED - Please install standalone packages] Arduino Mbed OS Boards
system
Closed
December 24, 2023, 3:35am
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.