core: Add 'dude' makefile target for avrdude
Run like `make dude DEV=/dev/ttyACM0` to program Arduino such as Pro Micro and Leonardo
This commit is contained in:
parent
2e5e6a69bc
commit
46bd3670cf
1 changed files with 3 additions and 0 deletions
|
|
@ -411,6 +411,9 @@ gccversion :
|
|||
program: $(TARGET).hex $(TARGET).eep
|
||||
$(PROGRAM_CMD)
|
||||
|
||||
dude: $(TARGET).hex
|
||||
avrdude -p$(MCU) -cavr109 -b57600 -Uflash:w:$(TARGET).hex -P$(DEV)
|
||||
|
||||
teensy: $(TARGET).hex
|
||||
teensy_loader_cli -mmcu=$(MCU) -w -v $(TARGET).hex
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue