Arduino CLI

Using Arduino-cli

    • General Admin:

      • Every now and then run:

      • arduino-cli core update-index

      • arduino-cli core upgrade

      • arduino-cli lib update-index

      • arduino-cli lib upgrade


Add new board:

    • Edit ~/.arduino15/arduino-cli.yaml

    • add json file for your manufacture

        • board_manager:

additional_urls:

- http://arduino.esp8266.com/stable/package_esp8266com_index.json

- https://dl.espressif.com/dl/package_esp32_index.json

- http://dan.drown.org/stm32duino/package_STM32duino_index.json

- http://digistump.com/package_digistump_index.json

    • Reload index files with

      • arduino-cli core update-index

    • Search for your board, eg

      • arduino-cli core search digi

    • which will list available boards in all cores

    • Install your board eg

      • arduino-cli core install digistump:avr

    • Find our boards FQBN with

      • arduino-cli board listall

      • arduino-cli board details digistump:avr:digispark-tiny