diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-21 04:14:20 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-21 04:14:20 +0000 |
commit | 5b31128b99a90e6ba45f4fa9e4487e55ce28fd16 (patch) | |
tree | ab41250cebc55f3cf66ddc7a7988fdb823f9ba19 /cpukit/score | |
parent | Add missing prototypes. (diff) | |
download | rtems-5b31128b99a90e6ba45f4fa9e4487e55ce28fd16.tar.bz2 |
Add avr25, avr31, avr35, avr51 to CPU_NAME cascade.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/avr/rtems/score/avr.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/avr.h b/cpukit/score/cpu/avr/rtems/score/avr.h index fb0cc4cf7c..507515193a 100644 --- a/cpukit/score/cpu/avr/rtems/score/avr.h +++ b/cpukit/score/cpu/avr/rtems/score/avr.h @@ -64,6 +64,22 @@ extern "C" { #define CPU_MODEL_NAME "avr5" #define AVR_HAS_FPU 1 +#elif __AVR_ARCH__ == 25 +#define CPU_MODEL_NAME "avr25" +#define AVR_HAS_FPU 1 + +#elif __AVR_ARCH__ == 31 +#define CPU_MODEL_NAME "avr31" +#define AVR_HAS_FPU 1 + +#elif __AVR_ARCH__ == 35 +#define CPU_MODEL_NAME "avr35" +#define AVR_HAS_FPU 1 + +#elif __AVR_ARCH__ == 51 +#define CPU_MODEL_NAME "avr51" +#define AVR_HAS_FPU 1 + #else #error "Unsupported __AVR_ARCH__" #endif |