complexity due to legacy and sunk costs!
dmesg -wH
ls -la /dev/tty* or just watching the output of dmesg -wH or journalctl -f
sudo chmod a+rw /dev/ttyACM0
avrdude
arduino
--board arduino:avr:leonardo
--port /dev/ttyACM0
--verbose-build
--verbose-upload
--upload Blink.cpp
https://beyermatthias.de/blog/2018/02/26/espeasy---nixos---fun/
$ nix-shell shell.nix/archive/master.tar.gz -A arduino [nix-shell] $ arduino
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "arduino-env";
targetPkgs = pkgs: with pkgs; [
arduino
zlib
(python3.withPackages(ps: [
ps.pyserial
]))
];
multiPkgs = null;
}).env