andyvand / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Modification of WInterrupts.c to use register #ifdefs instead of cpu #ifdefs #340

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

Modification of WInterrupts.c to use register #ifdefs instead of cpu #ifdefs

Why?

To support more cpus without having to keep adding more and more ifdefs

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?

No, it has been tested on the following cpus

atmega8
atmega168
atmega169
atmega328p
atmega128
 atmega644
atmega644p
atmega645
atmega324p
atmega32
atmega1281
atmega1280
atmega2560
atmega2561

If anyone knows of a board that uses some other cpu, please let me know.

Original issue reported on code.google.com by mark.l.s...@gmail.com on 29 Aug 2010 at 5:32

Attachments:

GoogleCodeExporter commented 9 years ago
http://github.com/arduino/Arduino/commit/b0888a34b5c9584ccbb07419d8890bf8c498ce2
4

Original comment by dmel...@gmail.com on 17 Oct 2010 at 6:07

GoogleCodeExporter commented 9 years ago
People are also using ATTiny's, 84 and 85 at least.  

Original comment by drdphar...@gmail.com on 21 Jan 2011 at 3:38