Programming ATtiny85 in the command line via Arduino

preview_player
Показать описание
Use an Arduino to program the ATtiny8x series in the command line. This lets you use your preferred code editor in ATtiny development.

** links **

** Commands **
arduino-cli compile --fqbn attiny:avr:ATtinyX5:cpu=attiny85,clock=internal8 demo

arduino-cli upload -p /dev/ttyUSB0 -b attiny:avr:ATtinyX5:cpu=attiny85,clock=internal8 --programmer arduinoasisp demo

i use arch btw
Рекомендации по теме
Комментарии
Автор

I am sticking this video into my favorties
Helpful thanks

_crazytechz
Автор

Why in the world a Vim user needs Arduino to do this???. Just use the Linux toolchain. avr-libc gcc-avr and avrdude (which indeed is used by Arduino IDE in backstage...). Every video to program micro's uses Arduino because the lack of knowledge and people misses the oportunity to use better the memory, registers, etc... Arduino code is at least 40 times slower than C baremetal code using just Vim and gcc to compile the code. Oh Man...

razielaerial