From 85343a436d181dfe3c7d4b0f2b35227d5c3e6c57 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 31 Mar 2013 09:37:30 +0000 Subject: Add ATTR_NEVER_INLINE attribute. Add EEPROM byte read/write proxy functions to the Mass Storage bootloader to prevent link errors due to linker relaxations. --- LUFA/Common/Attributes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'LUFA/Common') diff --git a/LUFA/Common/Attributes.h b/LUFA/Common/Attributes.h index 95570ad86..201d6b927 100644 --- a/LUFA/Common/Attributes.h +++ b/LUFA/Common/Attributes.h @@ -90,6 +90,11 @@ */ #define ATTR_NO_INLINE __attribute__ ((noinline)) + /** Forces the compiler to never inline the specified function. When applied, the given function will be + * always be called explicitly under all circumstances. + */ + #define ATTR_NEVER_INLINE __attribute__ ((noinline)) + /** Forces the compiler to inline the specified function. When applied, the given function will be * in-lined under all circumstances. */ -- cgit v1.2.3