Adding support for AtMega128RFR2 and AtMega256RFR2
This commit is contained in:
parent
93b9089164
commit
d3980668ee
9 changed files with 478 additions and 30 deletions
|
@ -73,7 +73,7 @@
|
|||
TIMSK0 = _BV (OCIE0A);
|
||||
|
||||
|
||||
#elif defined (__AVR_ATmega1284P__) || (__AVR_AT90USB1287__) || (__AVR_ATmega1281__) || defined (__AVR_ATmega128RFA1__)
|
||||
#elif defined (__AVR_ATmega1284P__) || (__AVR_AT90USB1287__) || (__AVR_ATmega1281__) || defined (__AVR_ATmega128RFA1__) || defined (__AVR_ATmega128RFR2__) || defined (__AVR_ATmega256RFR2__)
|
||||
/*
|
||||
The Raven has a 32768Hz watch crystal that can be used to clock the timer
|
||||
while the 1284p is sleeping. The Jackdaw has pads for a crystal. The crystal
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
#define NUMPORTS RS232_CONF_NUMPORTS
|
||||
#endif
|
||||
|
||||
#if defined (__AVR_ATmega128__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega1281__) || defined(__AVR_ATmega128RFA1__)
|
||||
#if defined (__AVR_ATmega128__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega1281__) || defined(__AVR_ATmega128RFA1__) || defined(__AVR_ATmega128RFR2__) || defined(__AVR_ATmega256RFR2__)
|
||||
#ifndef NUMPORTS
|
||||
#define NUMPORTS 2
|
||||
#elif NUMPORTS > 2
|
||||
|
|
|
@ -49,6 +49,10 @@
|
|||
#include "dev/rs232_at90usb1287.h"
|
||||
#elif defined (__AVR_ATmega128RFA1__)
|
||||
#include "dev/rs232_atmega128rfa1.h"
|
||||
#elif defined (__AVR_ATmega128RFR2__)
|
||||
#include "dev/rs232_atmega128rfa1.h"
|
||||
#elif defined (__AVR_ATmega256RFR2__)
|
||||
#include "dev/rs232_atmega128rfa1.h"
|
||||
#elif defined (__AVR_ATmega644__) || defined (__AVR_ATmega328P__)
|
||||
#include "dev/rs232_atmega644.h"
|
||||
#elif defined (__AVR_ATmega8__) || defined (__AVR_ATmega8515__) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue