X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fattr.h;h=4090abb9411bf38e7a6eedb925632174b064543c;hb=6d9719eaf269fda4b8e6886db78b3c8cc60ed8bb;hp=ce6e4ae38d35823c5b083860b97ff1c2ad5cf66a;hpb=345f93de1963f49bdb194d2b06c8c5d7ba0a3e5f;p=bertos.git 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