Readme 里面不是写了吗? 命令 apt-get install avr-gcc avr-libc gcc avrdude libusb bulid-essential ruby 安装编译工具
Build and Program InstructionsRequired libraries avr-gcc, avr-libc, gcc, avrdude, libusb, bulid-essentials Ubuntu/Debian commandline: sudo apt-get install avr-gcc avr-libc gcc avrdude libusb bulid-essential ruby Flashing (you may have to run as admin to access the USB port in Linux) To write the FW: make wflash AVRDUDE_PROGRAMMER=usbasp To write the EEPROM: make weeprom AVRDUDE_PROGRAMMER=usbasp To read FW: make rflash AVRDUDE_PROGRAMMER=usbasp TARGET=backupflash To read the EEPROM: make reeprom AVRDUDE_PROGRAMMER=usbasp TARGET=backupeeprom Make sure you replace "usbasp" with the name of your programmer. To list available programmers type: avrdude -c ? make targets - make all (default): build the source
- make clean: Remove compiled files and directories.
- make wflash: Write flash (program) memory.
- make rflash: Read flash memory.
- make weeprom: Write eeprom.
|