Skip to content

core list command gives no output when no platforms are installed #2220

Closed
@aliphys

Description

@aliphys

Describe the problem

I want to see the list of currently installed cores on my system. But cannot.
image

To reproduce

  1. Type arduino-cli core list in the terminal.
  2. Hit Enter
  3. Nothing happens

Expected behavior

I get a list of available cores on the system

Arduino CLI version

Version: 0.33.0 Commit: ca60d4b Date: 2023-05-30T12:14:01Z

Operating system

Windows

Operating system version

Windows 11

Additional context

I can see a list of installable/installed cores by appending the --all argument.

PS C:\Users\Ali Jahangiri\Documents\GitHub\nicla-sense-me-fw> arduino-cli core list --all
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: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+)                                      

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                                                    

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

The arduino-cli board list correctly identities the connected board name, FQBN and the core (arduino:mbed_nicla).

PS C:\Users\Ali Jahangiri\Documents\GitHub\nicla-sense-me-fw> arduino-cli board list
Port Protocol Type              Board Name           FQBN                            Core
COM3 serial   Serial Port       Unknown
COM4 serial   Serial Port       Unknown
COM7 serial   Serial Port (USB) Arduino Nicla Vision arduino:mbed_nicla:nicla_vision arduino:mbed_nicla

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions