Arduino-cli on nixos

Hi,

I am trying to use arduino-cli on NixOS, but, after giving

arduino-cli update

the command to list the boards is empty:

arduino-cli board listall

So I am wondering how the CLI detects the correct host platform, since I suppose this is a host (NixOS) configuration fault.

Thank you,
regards

Hi @fstefanni. Have you used arduino-cli core install to install any Arduino boards platforms?

From the command documentation:

https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_board_listall/

List all boards that have the support platform installed.

So it is expected that this command will produce an empty list of boards if you haven't installed any platforms.

Hi,

I re-checked carefully the commands, and I discovered that I was giving a wrong parameter to arduino-cli core install... so solved.

Thank you for the support.
Regards

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.