Project

General

Profile

Revision cc9ca04e

IDcc9ca04e4d58158606627a644331754a3fd64e91
Parent 812788aa
Child 68b23184, fd73d758

Added by Thomas Mullins over 11 years ago

Fixed pins to work with 128rfa1 instead of 2560

View differences:

scout_avr/Makefile
1 1

  
2
#PART=m128rfa1
3
#MCU=atmega128rfa1
2
PART=m128rfa1
3
MCU=atmega128rfa1
4 4

  
5 5
#PART=m328p
6 6
#MCU=atmega328
7 7

  
8
PART=m2560
9
MCU=atmega2560
8
#PART=m2560
9
#MCU=atmega2560
10 10

  
11
#PROG=avrispMKII
12
PROG=stk600
11
PROG=avrispMKII
12
#PROG=stk600
13 13

  
14 14
F_CPU=16000000
15 15
SRC=src/*.cpp src/ros_lib/*.cpp
......
25 25
	avr-g++ $(FLAGS) $(SRC) -o scout_avr.elf
26 26

  
27 27
program: scout_avr.hex
28
	avrdude -p $(PART) -c $(PROG) -P usb -B 1 -F -U flash:w:scout_avr.hex
28
	avrdude -p $(PART) -c $(PROG) -P usb -B 5 -U flash:w:scout_avr.hex
29 29

  
30 30
clean:
31 31
	rm -f scout_avr.elf scout_avr.hex

Also available in: Unified diff