Uploading the firmware to device
Opened this issue · 2 comments
Hello!
I am sorry to write this here but I don't really know how Github works yet as I am starting to use it.
I really lile your pomodoro timer and I would like to make it. Howevee, as I am learning how to code, I only know how to upload code to Attiny with Arduino as ISP. Is it possible to convert the .c file to arduino? If so, do you have such file?
If it is not possible, could you explain me or recommend me a web where how to upload codes with an usb-isp is explained properly? I can't seem to find any useful page.
Thank you very much.
Alexis.
Originally posted by @Alexisgm7 in #2 (comment)
Hi @Alexisgm7, I have opened a new issue about this.
You can use avrdude. There is a very complete tutorial here including how to install it on various platforms.
Once you have installed avrdude, you can use the Makefile in firmware
folder to upload to compile and upload to device.
cd ./firmware
make avrdude
You might have to edit the top of the Makefile to indicate the type of ISP (PROGRAMMER
) and the USB port (PORT
) you are using
CC=avr-gcc
PROGRAMMER=avrisp2
PORT=usb
CPU=attiny85
Hope this helps.
Thank you very much for all the help. Now I have to put my hand on it and start working and making the pcb.
If I have any question I will ask you!!
Thanks.