Closed
Description
The current implementation of the core search
checks matches based on
- the name or the architecture of the platform, or
arduino-cli/commands/core/search.go
Line 58 in 8483cb2
- the name of a board in the core package
arduino-cli/commands/core/search.go
Line 68 in 8483cb2
Would it be possible to search by the platform ID?
arduino-cli/rpc/commands/core.proto
Line 88 in 8483cb2
Current behavior:
akos.kitta@Akoss-MacBook-Pro arduino-cli % ./arduino-cli core search
ID Version Name
Arrow:samd 2.1.0 Arrow Boards
Intel:arc32 2.0.4 Intel Curie Boards
Intel:i586 1.6.7+1.0 Intel i586 Boards
Intel:i686 1.6.7+1.0 Intel i686 Boards
Microsoft:win10 1.1.2 Windows 10 Iot Core
arduino:avr 1.8.2 Arduino AVR Boards
arduino:mbed 1.1.4 Arduino nRF528x Boards (Mbed OS)
arduino:megaavr 1.8.5 Arduino megaAVR Boards
arduino:nrf52 1.0.2 Arduino nRF52 Boards
arduino:sam 1.6.12 Arduino SAM Boards (32-bits ARM Cortex-M3)
arduino:samd 1.8.5 Arduino SAMD Boards (32-bits ARM Cortex-M0+)
arduino:samd_beta 1.6.25 Arduino SAMD Beta Boards (32-bits ARM Cortex-M0+)
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+)
littleBits:avr 1.0.0 littleBits Arduino AVR Modules
akos.kitta@Akoss-MacBook-Pro arduino-cli % ./arduino-cli core search "arduino:sam"
No platforms matching your search.
Expected behavior:
akos.kitta@Akoss-MacBook-Pro arduino-cli % ./arduino-cli core search "arduino:sam"
ID Version Name
arduino:sam 1.6.12 Arduino SAM Boards (32-bits ARM Cortex-M3)
Workaround:
I run a wildcard query and filter the results by the platform ID.
Arduino CLI version:
- I built one from the sources: 8483cb2,
- OS: macOS 10.15.3
Metadata
Metadata
Assignees
Labels
No labels