$cdclock_uploader_machine&&ls-l# you will see total32-rw-r--r--1usergroup97README.mddrwxr-xr-x5usergroup160bashBased-rwxr-xr-x1usergroup16665installer.sh-rw-r--r--1usergroup1016installer_settings.yaml-rw-r--r--1usergroup1082programmer_settings.yamldrwxr-xr-x16usergroup512pythonBased-rw-r--r--@1usergroup1050test_programmer_settings.yaml
We are interested in these 3 files:
# setting file for tools installerinstaller_settings.yaml# settings file for programmer scriptprogrammer_settings.yaml# tool-chain installer scriptinstaller.sh
Installer settings:
yqeinstaller_settings.yaml# ** yq yaml parse must be installed for next steps as well.
Here you can edit to your needs.
BINARY:# arduino-cli binary download linkLINK:https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_ARMv7.tar.gz# base dir where /bin/arduino-cli willbe installedBASE:/home/pi/testCORES:# links for board cores you want to install LINK:# these will be appended in arduino-cli's config file-http://drazzy.com/package_drazzy.com_index.json-https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.jsonCORE_NAMES:# names of cores you want to install -megaTinyCore:megaavr# Note I have used full FQBN hereLIBS:# 3rd-party libraries you want to install-TinyMegaI2C-RV8803Tiny
Let's go through it step by step to understand how the installer mechanism works what the heck is it's settings file.