Merge pull request #337 from MCUdude/master

Add ATmega48 and ATmega88 to the list (+ some other minor commits)
This commit is contained in:
Rafi Khan
2016-07-23 22:54:24 -06:00
committed by GitHub
4 changed files with 13 additions and 5 deletions

View File

@@ -16,5 +16,6 @@ These are the active contributors of this project that you may contact if there
- [lumbric](https://github.com/lumbric): Contributor - [lumbric](https://github.com/lumbric): Contributor
- [ElectricRCAircraftGuy](https://github.com/electricrcaircraftguy): Active Contributor - [ElectricRCAircraftGuy](https://github.com/electricrcaircraftguy): Active Contributor
- [henkel](https://github.com/henkel): Contributor - [henkel](https://github.com/henkel): Contributor
- [MCUdude](https://github.com/MCUdude): Contributor
Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed. Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed.

View File

@@ -219,6 +219,7 @@ EXTERN volatile irparams_t irparams;
#define IR_USE_TIMER_TINY0 // tx = pin 1 #define IR_USE_TIMER_TINY0 // tx = pin 1
// Arduino Duemilanove, Diecimila, LilyPad, Mini, Fio, Nano, etc // Arduino Duemilanove, Diecimila, LilyPad, Mini, Fio, Nano, etc
// ATmega48, ATmega88, ATmega168, ATmega328
#else #else
//#define IR_USE_TIMER1 // tx = pin 9 //#define IR_USE_TIMER1 // tx = pin 9
#define IR_USE_TIMER2 // tx = pin 3 #define IR_USE_TIMER2 // tx = pin 3
@@ -280,7 +281,7 @@ EXTERN volatile irparams_t irparams;
# define TIMER_PWM_PIN 14 // MightyCore # define TIMER_PWM_PIN 14 // MightyCore
#else #else
# define TIMER_PWM_PIN 3 // Arduino Duemilanove, Diecimila, LilyPad, etc # define TIMER_PWM_PIN 3 // Arduino Duemilanove, Diecimila, LilyPad, etc
#endif #endif // ATmega48, ATmega88, ATmega168, ATmega328
//--------------------------------------------------------- //---------------------------------------------------------
// Timer1 (16 bits) // Timer1 (16 bits)
@@ -338,7 +339,7 @@ EXTERN volatile irparams_t irparams;
# define TIMER_PWM_PIN 6 # define TIMER_PWM_PIN 6
#else #else
# define TIMER_PWM_PIN 9 // Arduino Duemilanove, Diecimila, LilyPad, etc # define TIMER_PWM_PIN 9 // Arduino Duemilanove, Diecimila, LilyPad, etc
#endif #endif // ATmega48, ATmega88, ATmega168, ATmega328
//--------------------------------------------------------- //---------------------------------------------------------
// Timer3 (16 bits) // Timer3 (16 bits)

View File

@@ -21,7 +21,9 @@ Check [here](http://z3t0.github.io/Arduino-IRremote/) for tutorials and more inf
- Arduino Uno / Mega / Leonardo / Duemilanove / Diecimila / LilyPad / Mini / Fio / Nano etc. - Arduino Uno / Mega / Leonardo / Duemilanove / Diecimila / LilyPad / Mini / Fio / Nano etc.
- Teensy 1.0 / 1.0++ / 2.0 / 2++ / 3.0 / 3.1 / Teensy-LC; Credits: @PaulStoffregen (Teensy Team) - Teensy 1.0 / 1.0++ / 2.0 / 2++ / 3.0 / 3.1 / Teensy-LC; Credits: @PaulStoffregen (Teensy Team)
- Sanguino - Sanguino
- Atmega8535, 8, 16, 32, 164, 324, 644, 1284, 64, 128 - ATmega8, 48, 88, 168, 328
- ATmega8535, 16, 32, 164, 324, 644, 1284,
- ATmega64, 128
- ATtiny 84 / 85 - ATtiny 84 / 85
We are open to suggestions for adding support to new boards, however we highly recommend you contact your supplier first and ask them to provide support from their side. We are open to suggestions for adding support to new boards, however we highly recommend you contact your supplier first and ask them to provide support from their side.
@@ -32,9 +34,9 @@ We are open to suggestions for adding support to new boards, however we highly r
|--------------------------------------------------------------------------|---------------------|-------------------| |--------------------------------------------------------------------------|---------------------|-------------------|
| [ATtiny84](https://github.com/SpenceKonde/ATTinyCore) | **6** | **1** | | [ATtiny84](https://github.com/SpenceKonde/ATTinyCore) | **6** | **1** |
| [ATtiny85](https://github.com/SpenceKonde/ATTinyCore) | **1** | **TINY0** | | [ATtiny85](https://github.com/SpenceKonde/ATTinyCore) | **1** | **TINY0** |
| ATmega8 | **9** | **1** | | [ATmega8](https://github.com/MCUdude/MiniCore) | **9** | **1** |
| Atmega32u4 | 5, 9, **13** | 1, 3, **4** | | Atmega32u4 | 5, 9, **13** | 1, 3, **4** |
| ATmega168, ATmega328 | **3**, 9 | 1, **2** | | [ATmega48, ATmega88, ATmega168, ATmega328](https://github.com/MCUdude/MiniCore) | **3**, 9 | 1, **2** |
| [ATmega1284](https://github.com/MCUdude/MightyCore) | 13, 14, 6 | 1, **2**, 3 | | [ATmega1284](https://github.com/MCUdude/MightyCore) | 13, 14, 6 | 1, **2**, 3 |
| [ATmega164, ATmega324, ATmega644](https://github.com/MCUdude/MightyCore) | 13, **14** | 1, **2** | | [ATmega164, ATmega324, ATmega644](https://github.com/MCUdude/MightyCore) | 13, **14** | 1, **2** |
| [ATmega8535 ATmega16, ATmega32](https://github.com/MCUdude/MightyCore) | **13** | **1** | | [ATmega8535 ATmega16, ATmega32](https://github.com/MCUdude/MightyCore) | **13** | **1** |

View File

@@ -117,8 +117,12 @@ void dumpPlatform() {
Serial.println(F("ATmega164")); Serial.println(F("ATmega164"));
#elif defined(__AVR_ATmega128__) #elif defined(__AVR_ATmega128__)
Serial.println(F("ATmega128")); Serial.println(F("ATmega128"));
#elif defined(__AVR_ATmega88__) || defined(__AVR_ATmega88P__)
Serial.println(F("ATmega88"));
#elif defined(__AVR_ATmega64__) #elif defined(__AVR_ATmega64__)
Serial.println(F("ATmega64")); Serial.println(F("ATmega64"));
#elif defined(__AVR_ATmega48__) || defined(__AVR_ATmega48P__)
Serial.println(F("ATmega48"));
#elif defined(__AVR_ATmega32__) #elif defined(__AVR_ATmega32__)
Serial.println(F("ATmega32")); Serial.println(F("ATmega32"));
#elif defined(__AVR_ATmega16__) #elif defined(__AVR_ATmega16__)