I am using a USBasp programmer on Windows 10, after a successful build, when I try uploading to my attiny85, it gives me this error: avrdude.exe: invalid file format 'i>' in update specifier.
Followed by this error: avrdude.exe: error parsing update operation 'flash:w:c:\users\voidm\Documents\Atmel Studio\7.0\FirstAVRprogam\FirstAVRprogam\Debug\FirstAVRprogam.hex:i>'
The command I am using: avrdude -c usbasp -p t85 -U flash:w:$(ProjectDir)Debug\$(TargetName).hex:i
It is encapsulated in "<", ">" in the Arguments of the external tool, but it seems to be including those symbols in the command.
It's my first time, I have all the latest drivers and whatnot and have followed this tutorial very thoroughly: https://circuitdigest.com/microc...
Is my command just wrong? Thanks so much for any help!
#define F_CPU 8000000UL
DDRB = (1 << PB0);
PORTB ^= (1<<PB0);