Revision c874b753
Fixed paintboard code
Added servo initialization and more internal_data array entries
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