From 726c7e39d06d6456a312ad16ff7a0d12b0363397 Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 22 May 2008 08:40:48 +0000 Subject: [PATCH] Add defines for avr target. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1325 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/attr.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.25.1