Project

General

Profile

Revision c874b753

IDc874b753fef2ac2d6c20ff79243d2ea33e518a1c
Parent 1af81271
Child d9b50611

Added by Thomas Mullins over 3 years ago

Fixed paintboard code

Added servo initialization and more internal_data array entries

View differences:

paintboard/code/Makefile
8 8
	avr-objcopy -j .text -j .data -O ihex $< $@
9 9

  
10 10
paint.elf: $(SRC) $(HDR)
11
	avr-gcc -mmcu=atmega168 -DF_CPU=8000000UL $(SRC) -o paint.elf -Os
11
	avr-gcc -mmcu=atmega328 -DF_CPU=8000000UL $(SRC) -o paint.elf -Os
12 12

  
13
download: paint.hex
14
	avrdude -c avrispmkII -p m168 -P usb -B 1 -U flash:w:paint.hex
13
program: paint.hex
14
	avrdude -c avrispmkII -p m328 -P usb -B 1 -U flash:w:paint.hex
15 15

  
16 16
clean:
17 17
	rm -f paint.elf paint.hex

Also available in: Unified diff