summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/avr/rtems/score/avr.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-12-02 10:23:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-12-02 10:23:33 +0000
commit46e483b847082afa01754b6d43eb25fb51063f21 (patch)
tree3d62e56c1e8f7e8471d47819e928e21b39091502 /cpukit/score/cpu/avr/rtems/score/avr.h
parentWhitespace removal. (diff)
downloadrtems-46e483b847082afa01754b6d43eb25fb51063f21.tar.bz2
2009-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/avr.h: Add avr6.
Diffstat (limited to 'cpukit/score/cpu/avr/rtems/score/avr.h')
-rw-r--r--cpukit/score/cpu/avr/rtems/score/avr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/avr.h b/cpukit/score/cpu/avr/rtems/score/avr.h
index 3b4b6152f9..299b3f7fe1 100644
--- a/cpukit/score/cpu/avr/rtems/score/avr.h
+++ b/cpukit/score/cpu/avr/rtems/score/avr.h
@@ -80,6 +80,10 @@ extern "C" {
#define CPU_MODEL_NAME "avr51"
#define AVR_HAS_FPU 1
+#elif __AVR_ARCH__ == 6
+#define CPU_MODEL_NAME "avr6"
+#define AVR_HAS_FPU 1
+
#else
#error "Unsupported __AVR_ARCH__"
#endif