From: asterix Date: Thu, 22 May 2008 08:40:48 +0000 (+0000) Subject: Add defines for avr target. X-Git-Tag: 2.0.0~609 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=726c7e39d06d6456a312ad16ff7a0d12b0363397;p=bertos.git Add defines for avr target. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1325 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/attr.h b/bertos/cpu/attr.h index ce6e4ae3..4090abb9 100644 --- a/bertos/cpu/attr.h +++ b/bertos/cpu/attr.h @@ -219,6 +219,19 @@ */ #define CPU_REG_INIT_VALUE(reg) (reg == 0 ? 0x80 : 0) + #warning FIXME:This macro are empty for AVR target, implent it! + /** + * Function attribute for use with performance critical code. + */ + #define FAST_FUNC /* */ + + /** + * Data attribute to move constant data to fast memory storage. + * + * \see FAST_FUNC + */ + #define FAST_RODATA /* */ + #else #error No CPU_... defined. #endif