소스 검색

Added cmd for flashing

Vladimir N. Shilov 4 년 전
부모
커밋
b7d6d122bb
2개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      flash.cmd
  2. 6 0
      fuse.cmd

+ 7 - 0
flash.cmd

@@ -0,0 +1,7 @@
+@echo off
+
+SET AVRDUDE=D:\Program\avrdude\avrdude.exe -C D:\Program\avrdude\avrdude.conf
+SET MCU=m8
+
+%AVRDUDE% -p %MCU% -c usbasp -U flash:w:build\snc.hex:a
+rem -U eeprom:w:build\snc.eep:a

+ 6 - 0
fuse.cmd

@@ -0,0 +1,6 @@
+@echo off
+
+SET AVRDUDE=D:\Program\avrdude\avrdude.exe -C D:\Program\avrdude\avrdude.conf
+SET MCU=m8
+
+%AVRDUDE% -p %MCU% -c usbasp -U lfuse:w:0x3E:m -U hfuse:w:0xC9:m