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:
tmk 2020-05-06 09:36:28 +09:00
parent 2e5e6a69bc
commit 46bd3670cf

View file

@ -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