save
This commit is contained in:
parent
0cdf4f17e1
commit
4f0166f83c
|
@ -49,7 +49,7 @@ checkfuses:
|
|||
|
||||
upload: b15f checkfuses
|
||||
@echo "Uploading hex file..."
|
||||
avrdude -Pusb -p $(MCU) -c $(PROGRAMMER) -U flash:w:$(HEX)
|
||||
avrdude -v -Pusb -p $(MCU) -c $(PROGRAMMER) -U flash:w:$(HEX)
|
||||
|
||||
.cpp.o:
|
||||
$(COMPILE) -c $< -o $@
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
avrdude -c "$1" -Pusb -p m16 2>&1 | grep 'Device signature =' | awk -F 'probably ' '{print $2}' | head -c-2
|
2
install
2
install
|
@ -6,7 +6,7 @@ log="/tmp/b15f-install.log"
|
|||
dependencies="git avr-libc avrdude libncurses5-dev g++ astyle"
|
||||
user="$1"
|
||||
path="/home/$user/b15f/"
|
||||
udev_rule="SUBSYSTEM!=\"usb_device\", ACTION!=\"add\", GOTO=\"avrisp_end\"\nATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2104\", MODE=\"660\", GROUP=\"dialout\"\nLABEL=\"avrisp_end\""
|
||||
udev_rule="SUBSYSTEM!=\"usb_device\", ACTION!=\"add\", GOTO=\"avrisp_end\"\n\nATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2104\", MODE=\"660\", GROUP=\"dialout\"\n\nLABEL=\"avrisp_end\"\n"
|
||||
udev_path="/etc/udev/rules.d/60-olimex.rules"
|
||||
mcu_cfg="/etc/b15f.mcu"
|
||||
declare -a known_mcus=("atmega1284" "atmega1284p")
|
||||
|
|
Loading…
Reference in a new issue