Skip to content

Commit

Permalink
remove second -c <programmer>
Browse files Browse the repository at this point in the history
-c <programmer>
so set this only ones!
  • Loading branch information
AndreiCherniaev committed Dec 23, 2022
1 parent 9ce75c4 commit 6f7686c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

If you want to use Arduino bootloader so you can. Produce .hex file via MPLAB X and flash it to ATmega using avrdude https://github.com/avrdudes/avrdude into console. Example

avrdude -c arduino -p atmega2560 -cwiring -P /dev/ttyUSB0 -b115200 -D -Uflash:w:"PATH/blink_2560.X.production.hex"
avrdude -c arduino -p atmega2560 -P /dev/ttyUSB0 -b115200 -D -Uflash:w:"PATH/blink_2560.X.production.hex"
Where PATH is your path to .hex.
ttyUSB0 may be not the same on your system. See avaliable ttyUSBs on your system in /dev

Expand Down

0 comments on commit 6f7686c

Please sign in to comment.