TARGET_BOARD=arduino:avr:nano:cpu=atmega328old
COM_PORT=/dev/ttyUSB0
build:
arduino-cli compile -b ${TARGET_BOARD}
upload:
arduino-cli upload -b ${TARGET_BOARD} -p ${COM_PORT}