12345678910111213141516171819202122232425262728293031323334 |
- #
- # Support for the Atmel Xplained mini eval boards that are mostly
- # compatible with Arduino. (168pb, 328p, and 328pb chips.)
- #
- # Currently these all masquerade as 168 or 328p, because the IDE
- # does not yet have compiler support for the -pb variants.
- #
- # These boards have an mEDBG debug chip that:
- # 1) means that optiboot can only be programmed via Atmel Studio
- # 2) prevents optiboot from working at 115200bps.
- # 3) provides 16MHz (at 5V) via Xin on the chip.
- #
- #
- #
- xplained168pb: TARGET = $@
- xplained168pb: CHIP = atmega168
- xplained168pb:
- $(MAKE) $(CHIP) AVR_FREQ=16000000L BAUD_RATE=57600
- mv $(PROGRAM)_$(CHIP).hex $(PROGRAM)_$(TARGET).hex
- mv $(PROGRAM)_$(CHIP).lst $(PROGRAM)_$(TARGET).lst
- xplained328pb: TARGET = $@
- xplained328pb: CHIP = atmega328
- xplained328pb:
- $(MAKE) $(CHIP) AVR_FREQ=16000000L BAUD_RATE=57600
- mv $(PROGRAM)_$(CHIP).hex $(PROGRAM)_$(TARGET).hex
- mv $(PROGRAM)_$(CHIP).lst $(PROGRAM)_$(TARGET).lst
- xplained328p: TARGET = $@
- xplained328p: CHIP = atmega328
- xplained328p:
- $(MAKE) $(CHIP) AVR_FREQ=16000000L BAUD_RATE=57600
- mv $(PROGRAM)_$(CHIP).hex $(PROGRAM)_$(TARGET).hex
- mv $(PROGRAM)_$(CHIP).lst $(PROGRAM)_$(TARGET).lst
|