diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-31 09:37:30 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-31 09:37:30 +0000 |
commit | 85343a436d181dfe3c7d4b0f2b35227d5c3e6c57 (patch) | |
tree | 5b6640bc3190322993bad4265ff7f8156fad363d /LUFA/Common | |
parent | 7251da65811a389ecacbb09223058d850d9ce4a4 (diff) | |
download | lufa-85343a436d181dfe3c7d4b0f2b35227d5c3e6c57.tar.gz lufa-85343a436d181dfe3c7d4b0f2b35227d5c3e6c57.tar.bz2 lufa-85343a436d181dfe3c7d4b0f2b35227d5c3e6c57.zip |
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.
Diffstat (limited to 'LUFA/Common')
-rw-r--r-- | LUFA/Common/Attributes.h | 5 |
1 files changed, 5 insertions, 0 deletions
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. */ |